patch: mingw32.mk for zlib

From: Mihai Preda <mihai_preda_at_yahoo.com>
Date: Thu Aug 04 2005 - 19:14:42 CEST

Hi,

thanks to the answers I received I built the abiword HEAD on MinGW.

I had to do some little modifications to mingw32.mk in order to have the
correct paths for the zlib includes and lib (I used the HEAD version of
zlib).

The small patch is attached, if you find it correct somebody may commit it.

Best,
Mihai

Index: src/config/platforms/mingw32.mk
===================================================================
RCS file: /cvsroot/abi/src/config/platforms/mingw32.mk,v
retrieving revision 1.24
diff -b -u -2 -r1.24 mingw32.mk
--- src/config/platforms/mingw32.mk 30 Jul 2004 22:12:55 -0000 1.24
+++ src/config/platforms/mingw32.mk 4 Aug 2005 16:48:08 -0000
@@ -177,9 +177,7 @@
 
 # zlib
-ABI_ZLIB_ROOT = $(ABI_ROOT)/../libs/zlib
-OS_LIBS += -L$(ABI_ZLIB_ROOT)/lib
-ABI_ZLIB_INC = $(ABI_ZLIB_ROOT)/include
-ABI_ZLIB_LIB = -lzdll
-ABI_LIBS += zdll
+ABI_ZLIB_ROOT = $(ABI_ROOT)/../zlib
+ABI_ZLIB_INC = $(ABI_ZLIB_ROOT)
+ABI_ZLIB_LIB = $(OBJDIR)/lib/zlib1dll.a
 
 # gsf (for many of the plugins)
Received on Thu Aug 4 19:04:25 2005

This archive was generated by hypermail 2.1.8 : Thu Aug 04 2005 - 19:04:26 CEST