mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Fix OSX build with OpenAL if it's dlopen()'ed
This commit is contained in:
parent
9b8bb03df7
commit
10899195b4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -416,7 +416,7 @@ ifeq ($(DLOPEN_OPENAL),yes)
|
||||||
ifeq ($(OSTYPE), OpenBSD)
|
ifeq ($(OSTYPE), OpenBSD)
|
||||||
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so"' -DDLOPEN_OPENAL
|
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so"' -DDLOPEN_OPENAL
|
||||||
else ifeq ($(OSTYPE), Darwin)
|
else ifeq ($(OSTYPE), Darwin)
|
||||||
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.dylib"' -I/usr/local/opt/openal-soft/include
|
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.dylib"' -I/usr/local/opt/openal-soft/include -DDLOPEN_OPENAL
|
||||||
release/quake2 : LDFLAGS += -L/usr/local/opt/openal-soft/lib
|
release/quake2 : LDFLAGS += -L/usr/local/opt/openal-soft/lib
|
||||||
else
|
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
|
||||||
|
|
Loading…
Reference in a new issue