diff --git a/Quake/Makefile b/Quake/Makefile index fe1ae833..a74b102d 100644 --- a/Quake/Makefile +++ b/Quake/Makefile @@ -46,6 +46,7 @@ CC ?= gcc LINKER = $(CC) STRIP ?= strip +PKG_CONFIG ?= pkg-config #CPUFLAGS= -mtune=i686 #CPUFLAGS= -march=pentium4 @@ -153,8 +154,8 @@ ifeq ($(USE_CODEC_OPUS),1) # but they include the headers without the opus directory # prefix and rely on pkg-config. ewww... CFLAGS+= -DUSE_CODEC_OPUS -CFLAGS+= $(shell pkg-config --cflags opusfile) -CODECLIBS+= $(shell pkg-config --libs opusfile) +CFLAGS+= $(shell $(PKG_CONFIG) --cflags opusfile) +CODECLIBS+= $(shell $(PKG_CONFIG) --libs opusfile) endif ifeq ($(USE_CODEC_VORBIS),1) CFLAGS+= -DUSE_CODEC_VORBIS $(cpp_vorbisdec)