From 08e60fc0ff6f65ff4cebcd6067c2011587cbab00 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 16 Aug 2002 06:15:58 +0000 Subject: [PATCH] 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(-) diff --git a/Configure b/Configure index d17bb0d38..292ca877c 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