diff options
author | Andy Polyakov <appro@openssl.org> | 2018-06-14 22:07:48 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-06-22 10:56:17 +0200 |
commit | b48d4397b8ee4256f0b0a115eb99f27ae89995e0 (patch) | |
tree | 9f830d0497e1c3734d49b365ae2ab27409599921 /Configure | |
parent | enable-ec_nistp_64_gcc_128: Fix function prototype warning [-Wstrict-prototypes] (diff) | |
download | openssl-b48d4397b8ee4256f0b0a115eb99f27ae89995e0.tar.xz openssl-b48d4397b8ee4256f0b0a115eb99f27ae89995e0.zip |
Configure: allow some file extensions to be overridden by target config.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6487)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1111,8 +1111,9 @@ $target{exe_extension}=".exe" if ($config{target} eq "DJGPP" $target{exe_extension}=".pm" if ($config{target} =~ /vos/); ($target{shared_extension_simple}=$target{shared_extension}) - =~ s|\.\$\(SHLIB_VERSION_NUMBER\)||; -$target{dso_extension}=$target{shared_extension_simple}; + =~ s|\.\$\(SHLIB_VERSION_NUMBER\)|| + unless defined($target{shared_extension_simple}); +$target{dso_extension}//=$target{shared_extension_simple}; ($target{shared_import_extension}=$target{shared_extension_simple}.".a") if ($config{target} =~ /^(?:Cygwin|mingw)/); |