[Zlib-devel] zlib-1.2.4 build failure on MSYS/1.0, MinGW (gcc 3.4.5)

Mark Adler madler at alumni.caltech.edu
Sun Mar 28 00:57:11 EDT 2010


On Mar 17, 2010, at 11:42 AM, John Bowler wrote:
> The shared lib link fails on a current MSYS/MinGW system (by 'current' I mean installed by the installer - not by hand - I don't know about that configuration):

John,

Does the patch below fix it?

Mark


--- ../zlib-1.2.4/configure	2010-03-12 07:06:14.000000000 -0800
+++ configure	2010-03-27 21:53:43.000000000 -0700
@@ -92,7 +110,7 @@
   fi
   case "$uname" in
   Linux | linux | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
-  CYGWIN* | Cygwin* | cygwin* | OS/2* )
+  CYGWIN* | Cygwin* | cygwin* | OS/2* | MINGW* )
              EXE='.exe' ;;
   QNX*)  # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4
          # (alain.bonnefoy at icbt.com)





More information about the Zlib-devel mailing list