Settled the OS X rpath stuff.
This commit is contained in:
parent
6bee3f2f71
commit
41f1886b02
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue