From 6bee3f2f71afab4aca7d45c5ba3a8ec2312aee60 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 13 Dec 2015 02:12:13 -0500 Subject: [PATCH] Fixed a bug in the Mac build. --- build/GNUmakefile.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/GNUmakefile.test b/build/GNUmakefile.test index 1ff3852d..5fbde21f 100644 --- a/build/GNUmakefile.test +++ b/build/GNUmakefile.test @@ -16,7 +16,9 @@ SUFFIX = $(EXESUFFIX) ifeq ($(TOOLCHAIN),gcc) LDFLAGS += -L$(OUTDIR) -lui # tell the dynamic loader to search in the executable path for shared objects - LDFLAGS += -Wl,-rpath='$$ORIGIN' + # TODO OS X complains if we do -rpath=$ORIGIN + # see if Unix complains too + LDFLAGS += -Wl,-rpath,'$$ORIGIN' else # TODO is there an equivalent to -L? LDFLAGS += $(OUTDIR)/libui.lib