Fix build with internal zlib

This commit is contained in:
Tor Lillqvist 2011-12-08 23:52:26 +02:00
parent 8b8dfa2536
commit 03a8c54cfc

View File

@ -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 \