From 03a8c54cfc12222c0614fb5099d287777e17a88b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 8 Dec 2011 23:52:26 +0200 Subject: [PATCH] Fix build with internal zlib --- libcdr/libcdr-0.0.0.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libcdr/libcdr-0.0.0.patch b/libcdr/libcdr-0.0.0.patch index 8016fec9328a..325874087169 100644 --- a/libcdr/libcdr-0.0.0.patch +++ b/libcdr/libcdr-0.0.0.patch @@ -18,3 +18,17 @@ #endif +--- misc/libcdr-0.0.0/src/lib/makefile.mk ++++ misc/build/libcdr-0.0.0/src/lib/makefile.mk +@@ -28,6 +28,10 @@ + INCPRE+=$(SOLARVER)$/$(INPATH)$/inc$/libwpg + .ENDIF + ++.IF "$(SYSTEM_ZLIB)" != "YES" ++INCPRE+=-I$(SOLARVER)$/$(INPATH)$/inc$/external/zlib ++.ENDIF ++ + SLOFILES= \ + $(SLO)$/CDRDocument.obj \ + $(SLO)$/CDRInternalStream.obj \ +