From 1c4e4e4f5638ef828ca6c5df3697bc983a0aafc8 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 16 Aug 2002 06:15:41 +0000 Subject: Add -lz to the ld flags when the user has chosen to link in zlib *statically*. Notified by Doug Kaufman --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Configure') 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 -- cgit v1.2.3