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

This commit is contained in:
Alex Arslan 2017-09-06 11:08:25 -07:00 committed by GitHub
parent 0598080ca0
commit b11e72b288
1 changed files with 1 additions and 1 deletions

View File

@ -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