aboutsummaryrefslogtreecommitdiffstats
path: root/main/ghostscript/ghostscript-system-zlib.patch
blob: ea70c1100cfd221d2d8a623c1f98d62836c0c276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/base/lib.mak b/base/lib.mak
index de78333..b9e7dfa 100644
--- a/base/lib.mak
+++ b/base/lib.mak
@@ -582,7 +582,9 @@ srlx_h=$(GLSRC)srlx.h
 sstring_h=$(GLSRC)sstring.h
 strimpl_h=$(GLSRC)strimpl.h $(scommon_h) $(gstypes_h) $(gsstruct_h)
 szlibx_h=$(GLSRC)szlibx.h
+ifneq ($(SHARE_ZLIB),1)
 zlib_h=$(ZSRCDIR)$(D)zlib.h
+endif
 # We have two of the following, for shared zlib (_1)
 # and 'local' zlib (_0)
 szlibxx_h_1=$(GLSRC)szlibxx.h $(szlibx_h)