summaryrefslogtreecommitdiffstats
path: root/util/local_shlib.com.in
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-23 15:00:36 +0200
committerRichard Levitte <levitte@openssl.org>2019-01-21 19:31:32 +0100
commitc162a8c344f12b2e0e788920358f51181ddf168f (patch)
treeee221812ca4b291d598d3bedccf64cdde03dea92 /util/local_shlib.com.in
parent957689611b355f3514bd9051829f3a9a0d9d4517 (diff)
Rework building: VMS changes to handle extensions and product names
Add platform::VMS, which is a generic VMS module. Additional modules to support specific building aspects (such as specific compilers) may be added later, but since we currently work on file names and those are generic enough, this is also enough. This reworks Configurations/descrip.mms.tmpl to work out product names in platform::VMS terms. Something to be noted is that the new functionality ignores the *_extension config attributes, as they were never used. VMS is very consistent in its use of extensions, so there is no reason to believe much will change in this respect. 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 'util/local_shlib.com.in')
-rw-r--r--util/local_shlib.com.in11
1 files changed, 4 insertions, 7 deletions
diff --git a/util/local_shlib.com.in b/util/local_shlib.com.in
index e49aa15c77..b3484e1985 100644
--- a/util/local_shlib.com.in
+++ b/util/local_shlib.com.in
@@ -1,10 +1,7 @@
${-
- use File::Spec::Functions qw(rel2abs);
-
- my $bldtop = rel2abs($config{builddir});
- our %names = ( map { $_ => $bldtop.$_.".EXE" }
- map { $unified_info{sharednames}->{$_} || () }
- @{$unified_info{libraries}} );
+ our %names = ( map { platform->sharedname($_) =>
+ $bldtop.platform->sharedlib($_) }
+ @{$unified_info{install}->{libraries}} );
"" -}
$ ! Create a local environment with the shared library logical names
$ ! properly set. Undo this with unlocal_shlib.com
@@ -15,7 +12,7 @@ $ DEFINE/TABLE='OPENSSL_NAMES' OSSL_FLAG YES
$
$ NAMES := {- join(",", keys %names); -}
{-
- join("\n", map { "\$ __$_ = \"".$names{$_}."\"" } keys %names);
+ join("\n", map { "\$ __$_ = \"".$names{$_}."\"" } sort keys %names);
-}
$ I = 0
$ LOOP: