mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +00:00
Only use /usr/local/opt/openal-soft on Darwin
Commit 883781c
selected these paths for all OSs, but when linking to
a system copy of OpenAL for Linux distribution binaries we want the
normal OpenAL in /usr.
Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
1da7ff5594
commit
992f453016
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -430,8 +430,12 @@ else
|
||||||
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so.1"' -DDLOPEN_OPENAL
|
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so.1"' -DDLOPEN_OPENAL
|
||||||
endif
|
endif
|
||||||
else # !DLOPEN_OPENAL
|
else # !DLOPEN_OPENAL
|
||||||
release/quake2 : CFLAGS += -DUSE_OPENAL -I/usr/local/opt/openal-soft/include
|
release/quake2 : CFLAGS += -DUSE_OPENAL
|
||||||
release/quake2 : LDFLAGS += -lopenal -L/usr/local/opt/openal-soft/lib
|
release/quake2 : LDFLAGS += -lopenal
|
||||||
|
ifeq ($(YQ2_OSTYPE), Darwin)
|
||||||
|
release/quake2 : CFLAGS += -I/usr/local/opt/openal-soft/include
|
||||||
|
release/quake2 : LDFLAGS += -L/usr/local/opt/openal-soft/lib
|
||||||
|
endif # Darwin
|
||||||
endif # !DLOPEN_OPENAL
|
endif # !DLOPEN_OPENAL
|
||||||
endif # WITH_OPENAL
|
endif # WITH_OPENAL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue