diff options
author | Michael Lee <mzlee@fb.com> | 2016-02-03 11:31:40 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-03 18:23:08 +0100 |
commit | 20a5819f135cf55716cf4bea65deb24569016c9b (patch) | |
tree | 86574052b261cffcc12881369b881ce66e09c91a /Configure | |
parent | dc5744cb78da6f2bcafeeefe22c604a51b52dfc5 (diff) | |
download | openssl-20a5819f135cf55716cf4bea65deb24569016c9b.zip openssl-20a5819f135cf55716cf4bea65deb24569016c9b.tar.gz openssl-20a5819f135cf55716cf4bea65deb24569016c9b.tar.bz2 |
[Configure] Make --with-zlib-* work with configdata.pm
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -596,11 +596,11 @@ foreach (@argvcopy) } elsif (/^--with-zlib-lib=(.*)$/) { - $withargs{"zlib-lib"}=$1; + $withargs{zlib_lib}=$1; } elsif (/^--with-zlib-include=(.*)$/) { - $withargs{"zlib-include"}="-I$1"; + $withargs{zlib_include}="-I$1"; } elsif (/^--with-fipslibdir=(.*)$/) { @@ -937,9 +937,9 @@ if ($zlib) $config{cflags} = "-DZLIB $config{cflags}"; if (defined($disabled{"zlib-dynamic"})) { - if (defined($withargs{"zlib-lib"})) + if (defined($withargs{zlib_lib})) { - $config{ex_libs} .= " -L" . $withargs{"zlib-lib"} . " -lz"; + $config{ex_libs} .= " -L" . $withargs{zlib_lib} . " -lz"; } else { |