how do i pkg-config

This commit is contained in:
Lior Halphon 2020-04-27 23:32:29 +03:00
parent 51177cd80d
commit 3bc68fef8f

View File

@ -131,8 +131,8 @@ ifeq (,$(PKG_CONFIG))
SDL_CFLAGS += -I/usr/local/include
SDL_LDFLAGS += -lportaudio
else
SDL_CFLAGS += $(shell $(PKG_CONFIG) --cflags portaudio)
SDL_LDFLAGS += $(shell $(PKG_CONFIG) --libs portaudio)
SDL_CFLAGS += $(shell $(PKG_CONFIG) --cflags libportaudio19)
SDL_LDFLAGS += $(shell $(PKG_CONFIG) --libs libportaudio19)
endif
endif