summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-08-16 06:15:41 +0000
committerRichard Levitte <levitte@openssl.org>2002-08-16 06:15:41 +0000
commit1c4e4e4f5638ef828ca6c5df3697bc983a0aafc8 (patch)
tree6ebc570c222f088fbc09c6f07c024e9baf60ce35 /Configure
parent3f6db7f518326381348aaeae70c2a6463a119bde (diff)
Add -lz to the ld flags when the user has chosen to link in zlib *statically*.
Notified by Doug Kaufman <dkaufman@rahul.net>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
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