mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Only invoke pkg-config for non-Windows platforms.
git-svn-id: https://svn.eduke32.com/eduke32@1881 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8c5492ec2e
commit
76be874e7e
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ endif
|
|||
CFLAGS=$(BASECFLAGS) $(F_NO_STACK_PROTECTOR)
|
||||
# for BUILD_ECHOFLAGS:
|
||||
OURCFLAGS=$(CFLAGS)
|
||||
CPPFLAGS=-I$(INC) -I$(SRC) `pkg-config --cflags vorbis` -DHAVE_VORBIS
|
||||
CPPFLAGS=-I$(INC) -I$(SRC) -DHAVE_VORBIS
|
||||
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
ifeq (1,$(SDL_FRAMEWORK))
|
||||
|
@ -42,7 +42,7 @@ ifeq ($(PLATFORM),WINDOWS)
|
|||
OBJNAME=libjfaudiolib_win32.a
|
||||
OBJ=obj_win
|
||||
else
|
||||
CPPFLAGS+= -DHAVE_SDL
|
||||
CPPFLAGS+= -DHAVE_SDL `pkg-config --cflags vorbis`
|
||||
OBJECTS+= $(OBJ)/driver_sdl.o
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue