From: Richard Levitte Date: Fri, 16 Aug 2002 06:15:41 +0000 (+0000) Subject: Add -lz to the ld flags when the user has chosen to link in zlib *statically*. X-Git-Tag: OpenSSL_0_9_7-beta4~168^2~35 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=1c4e4e4f5638ef828ca6c5df3697bc983a0aafc8;hp=3f6db7f518326381348aaeae70c2a6463a119bde Add -lz to the ld flags when the user has chosen to link in zlib *statically*. Notified by Doug Kaufman --- diff --git a/Configure b/Configure index b459b05b15..2566a3fbe4 100755 --- a/Configure +++ b/Configure @@ -1091,7 +1091,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