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:
plagman 2011-05-11 22:15:35 +00:00
parent 8c5492ec2e
commit 76be874e7e

View file

@ -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