소스 검색

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