mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix Windows build. On Windows OpenAL32.dll must be opened at runtime.
This commit is contained in:
parent
5323873476
commit
6d7d15af30
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -44,10 +44,10 @@ WITH_OGG:=yes
|
|||
# installed
|
||||
WITH_OPENAL:=yes
|
||||
|
||||
# Enables optional runtime loading of OpenAL (dlopen
|
||||
# or similar).
|
||||
# If set to "no", the library is linked in at compile
|
||||
# time in the normal way.
|
||||
# Enables optional runtime loading of OpenAL (dlopen or
|
||||
# similar). If set to "no", the library is linked in at
|
||||
# compile time in the normal way. On Windows this option
|
||||
# is ignored, OpenAL is always loaded at runtime.
|
||||
DLOPEN_OPENAL:=yes
|
||||
|
||||
# Use SDL2 instead of SDL1.2. Disables CD audio support,
|
||||
|
@ -370,7 +370,7 @@ release/quake2.exe : LDFLAGS += -lvorbisfile -lvorbis -logg
|
|||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),yes)
|
||||
release/quake2.exe : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"openal32.dll"'
|
||||
release/quake2.exe : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"openal32.dll"' -DDLOPEN_OPENAL
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_ZIP),yes)
|
||||
|
|
Loading…
Reference in a new issue