From 41f1886b026c6b27a846b6fd68da8540ede5bef0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 13 Dec 2015 02:28:51 -0500 Subject: [PATCH] Settled the OS X rpath stuff. --- build/GNUmakefile.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/GNUmakefile.test b/build/GNUmakefile.test index 5fbde21f..3893695a 100644 --- a/build/GNUmakefile.test +++ b/build/GNUmakefile.test @@ -16,8 +16,7 @@ SUFFIX = $(EXESUFFIX) ifeq ($(TOOLCHAIN),gcc) LDFLAGS += -L$(OUTDIR) -lui # tell the dynamic loader to search in the executable path for shared objects - # TODO OS X complains if we do -rpath=$ORIGIN - # see if Unix complains too + # note: OS X's linker complains if we say -rpath= instead of -rpath, LDFLAGS += -Wl,-rpath,'$$ORIGIN' else # TODO is there an equivalent to -L?