From b11e72b2881df5eaaf8eb320e4452f208afda1a8 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Wed, 6 Sep 2017 11:08:25 -0700 Subject: [PATCH] Set the RPATH for the test binaries on FreeBSD (#161) --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 68fd02b..454f39d 100644 --- a/test/Makefile +++ b/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