aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d5fc8f7..32373e5 100644
--- a/Makefile
+++ b/Makefile
@@ -879,6 +879,9 @@ endif
ifeq ($(USE_INTERNAL_ZLIB),1)
BASE_CFLAGS += -DNO_GZIP
+ ifneq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -I$(ZDIR)
+ endif
else
LIBS += -lz
endif