Settled the OS X rpath stuff.

This commit is contained in:
Pietro Gagliardi 2015-12-13 02:28:51 -05:00
parent 6bee3f2f71
commit 41f1886b02
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ SUFFIX = $(EXESUFFIX)
ifeq ($(TOOLCHAIN),gcc) ifeq ($(TOOLCHAIN),gcc)
LDFLAGS += -L$(OUTDIR) -lui LDFLAGS += -L$(OUTDIR) -lui
# tell the dynamic loader to search in the executable path for shared objects # tell the dynamic loader to search in the executable path for shared objects
# TODO OS X complains if we do -rpath=$ORIGIN # note: OS X's linker complains if we say -rpath= instead of -rpath,
# see if Unix complains too
LDFLAGS += -Wl,-rpath,'$$ORIGIN' LDFLAGS += -Wl,-rpath,'$$ORIGIN'
else else
# TODO is there an equivalent to -L? # TODO is there an equivalent to -L?