mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Enable rpath with Mac OS linker
This commit is contained in:
parent
7f339952cb
commit
895c7bc850
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -426,9 +426,13 @@ release/quake2 : LDFLAGS += -lexecinfo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WITH_RPATH),yes)
|
ifeq ($(WITH_RPATH),yes)
|
||||||
|
ifeq ($(YQ2_OSTYPE), Darwin)
|
||||||
|
release/quake2 : LDFLAGS += -Wl,-rpath,'$$ORIGIN/lib'
|
||||||
|
else
|
||||||
release/quake2 : LDFLAGS += -Wl,-z,origin,-rpath='$$ORIGIN/lib'
|
release/quake2 : LDFLAGS += -Wl,-z,origin,-rpath='$$ORIGIN/lib'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue