summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-09-23 16:52:13 +0200
committerRichard Levitte <levitte@openssl.org>2020-09-25 12:05:47 +0200
commit7a032be7f293bd80e3fe18c5568cf382b0b79543 (patch)
treee6fb82ebaea9b1678871c5a6b1e10aa51c08c8c2 /util
parent8a288609b12488b5e2dbca28ea54c3dd2c0de15b (diff)
Build: Make NonStop shared libraries only export selected symbols
We can now re-enable test/recipes/01-test_symbol_presence.t for NonStop. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12962)
Diffstat (limited to 'util')
-rwxr-xr-xutil/mkdef.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl
index 5e02c7dafb..a4772e9c8f 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -128,6 +128,9 @@ my %OS_data = (
NT => 'WIN32', # alias
nt => 'WIN32', # alias
mingw => 'WINDOWS', # alias
+ nonstop => { writer => \&writer_nonstop,
+ sort => OpenSSL::Ordinals::by_name(),
+ platforms => { TANDEM => 1 } },
);
do {
@@ -280,6 +283,12 @@ sub writer_aix {
}
}
+sub writer_nonstop {
+ for (@_) {
+ print "-export ",$_->name(),"\n";
+ }
+}
+
sub writer_windows {
print <<"_____";
;