瀏覽代碼

Set the RPATH for the test binaries on FreeBSD (#161)

Alex Arslan 7 年之前
父節點
當前提交
b11e72b288
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/Makefile

+ 1 - 1
test/Makefile

@@ -3,7 +3,7 @@ include ../Make.inc
 
 # Set rpath of tests to builddir for loading shared library
 OPENLIBM_LIB = -L.. -lopenlibm
-ifeq ($(OS),Linux)
+ifneq (,$(findstring $(OS),Linux FreeBSD))
 OPENLIBM_LIB += -Wl,-rpath=$(OPENLIBM_HOME)
 endif