Bye pkg-config
This commit is contained in:
parent
3bc68fef8f
commit
1abb6e62f4
5
Makefile
5
Makefile
@ -127,13 +127,8 @@ LDFLAGS += -lc -lm -ldl
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(SDL_AUDIO_DRIVER),portaudio)
|
ifeq ($(SDL_AUDIO_DRIVER),portaudio)
|
||||||
ifeq (,$(PKG_CONFIG))
|
|
||||||
SDL_CFLAGS += -I/usr/local/include
|
SDL_CFLAGS += -I/usr/local/include
|
||||||
SDL_LDFLAGS += -lportaudio
|
SDL_LDFLAGS += -lportaudio
|
||||||
else
|
|
||||||
SDL_CFLAGS += $(shell $(PKG_CONFIG) --cflags libportaudio19)
|
|
||||||
SDL_LDFLAGS += $(shell $(PKG_CONFIG) --libs libportaudio19)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),Darwin)
|
ifeq ($(PLATFORM),Darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user