Add incflags

This commit is contained in:
twinaphex 2020-10-07 20:46:06 +02:00
parent 6a2b90f021
commit 394fb506f7

View File

@ -187,10 +187,10 @@ ifeq ($(HAVE_CHD), 1)
ifneq ($(STATIC_LINKING), 1)
ifeq ($(SYSTEM_ZLIB), 1)
INCFLAGS += $(shell pkg-config --cflags zlib)
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat
LIBS += $(shell pkg-config --libs zlib)
else
INCFLAGS += $(ZLIB_INCFLAGS)
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat
SOURCES_C += $(ZLIB_SOURCES_C)
endif
endif