summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-23 14:36:23 +0200
committerRichard Levitte <levitte@openssl.org>2019-01-21 19:31:32 +0100
commit957689611b355f3514bd9051829f3a9a0d9d4517 (patch)
treed06ccfcc19187f292a11c7e1a3fa58363f1e5365 /Configure
parentd7e4932eaf53a82a2606a73282d9c8a242c1a39d (diff)
downloadopenssl-new-957689611b355f3514bd9051829f3a9a0d9d4517.tar.gz
Rework building: Windows changes to handle extensions and product names
Add platform::Windows, which is a generic Windows module, and platform::Windows::MSVC, which is a module specifically for MS Visual C. This reworks Configurations/windows-makeffile.tmpl to work out product names in platform::Windows. Something to be noted is that the new functionality ignores the *_extension config attributes, as they were never used. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7473)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 7a2be83edb..8773693895 100755
--- a/Configure
+++ b/Configure
@@ -1130,7 +1130,7 @@ $target{exe_extension}=".exe" if ($config{target} eq "DJGPP"
|| $config{target} =~ /^(?:Cygwin|mingw)/);
$target{exe_extension}=".pm" if ($config{target} =~ /vos/);
$target{def_extension}=".ld";
-$target{def_extension}=".def" if $config{target} =~ /^mingw|VC-/;
+$target{def_extension}=".def" if $config{target} =~ /^mingw/;
$target{def_extension}=".opt" if $config{target} =~ /^vms/;
($target{shared_extension_simple}=$target{shared_extension})
=~ s|\.\$\(SHLIB_VERSION_NUMBER\)||