Also fix OSX build with OpenAL when *not* using dlopen()

using dlopen() (DLOPEN_OPENAL) is default, though.
This commit is contained in:
Daniel Gibson 2016-12-18 00:00:47 +01:00
parent 10899195b4
commit 883781c6f0

View file

@ -422,8 +422,8 @@ else
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so.1"' -DDLOPEN_OPENAL
endif
else # !DLOPEN_OPENAL
release/quake2 : CFLAGS += -DUSE_OPENAL
release/quake2 : LDFLAGS += -lopenal
release/quake2 : CFLAGS += -DUSE_OPENAL -I/usr/local/opt/openal-soft/include
release/quake2 : LDFLAGS += -lopenal -L/usr/local/opt/openal-soft/lib
endif # !DLOPEN_OPENAL
endif # WITH_OPENAL