From: Richard Levitte Date: Fri, 16 Aug 2002 06:15:58 +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~186 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08e60fc0ff6f65ff4cebcd6067c2011587cbab00;p=oweals%2Fopenssl.git 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 d17bb0d389..292ca877c6 100755 --- 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