Add -lz to the ld flags when the user has chosen to link in zlib *statically*.
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Aug 2002 06:15:58 +0000 (06:15 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 16 Aug 2002 06:15:58 +0000 (06:15 +0000)
Notified by Doug Kaufman <dkaufman@rahul.net>

Configure

index d17bb0d389ca87def53c3916eb49c49e259110fb..292ca877c6525cab1c4c93e5c74ecc58720dfcef 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1070,7 +1070,7 @@ if ($zlib)
        {
        $cflags = "-DZLIB $cflags";
        $cflags = "-DZLIB_SHARED $cflags" if $zlib == 2;
-       $lflags = "$lflags -lz" if $zlib == 2;
+       $lflags = "$lflags -lz" if $zlib == 1;
        }
 
 # You will find shlib_mark1 and shlib_mark2 explained in Makefile.org