mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
snd_xmp: adjust windows static linkage for latest libxmp headers
This commit is contained in:
parent
36fd7e4465
commit
00d36583e7
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
# makefile to build quakespasm.exe for Windows using Open Watcom:
|
||||
# wmake -f Makefile.wat
|
||||
# wmake -f Makefile.wat
|
||||
|
||||
### Enable/disable SDL2
|
||||
USE_SDL2=0
|
||||
|
@ -100,7 +100,7 @@ CODECLIBS+= $(LIBCODEC)mikmod.lib
|
|||
!endif
|
||||
!ifeq USE_CODEC_XMP 1
|
||||
CFLAGS+= -DUSE_CODEC_XMP
|
||||
CFLAGS+= -DXMP_NO_DLL
|
||||
CFLAGS+= -DLIBXMP_STATIC
|
||||
CODECLIBS+= $(LIBCODEC)libxmp.lib
|
||||
!endif
|
||||
!ifeq USE_CODEC_MODPLUG 1
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "snd_codec.h"
|
||||
#include "snd_codeci.h"
|
||||
#include "snd_xmp.h"
|
||||
#if defined(_WIN32) && defined(XMP_NO_DLL)
|
||||
#if defined(_WIN32) && defined(LIBXMP_STATIC)
|
||||
#define BUILDING_STATIC
|
||||
#endif
|
||||
#include <xmp.h>
|
||||
|
|
Loading…
Reference in a new issue