From 30880df55e528547704d5b9da5a84ceaf988bb16 Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 11 Jul 2019 06:34:23 -0700 Subject: [PATCH] Makefile.common: Fix the system zlib check. --- Makefile.common | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.common b/Makefile.common index 7d6b8b372d..4b42ae2dc7 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1592,12 +1592,10 @@ ifeq ($(HAVE_BUILTINZLIB), 1) $(DEPS_DIR)/libz/zutil.o INCLUDE_DIRS += -I$(LIBRETRO_COMM_DIR)/include/compat/zlib DEFINES += -DWANT_ZLIB -else -ifneq ($(HAVE_ZLIB), 0) +else ifeq ($(HAVE_ZLIB),1) HAVE_ZLIB_COMMON = 1 LIBS += $(ZLIB_LIBS) endif -endif ifeq ($(HAVE_ZLIB_COMMON), 1) OBJ += $(LIBRETRO_COMM_DIR)/file/archive_file_zlib.o \