VMS: pretend to use -znodelete
authorRichard Levitte <levitte@openssl.org>
Sun, 6 Nov 2016 17:35:01 +0000 (18:35 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 6 Nov 2016 17:35:01 +0000 (18:35 +0100)
VMS only unloads shared libraries at process rundown, so tell the
OpenSSL code so by pretending we linked with -znodelete.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1862)

Configurations/10-main.conf

index 4c6598444d8a776963a498791797fa620a94f49b..5d11d3f62894f6c4bee30485d6b197341674582e 100644 (file)
@@ -1767,6 +1767,7 @@ sub vms_info {
         cflags           => picker(default => "/STANDARD=(ISOC94,RELAXED)/NOLIST/PREFIX=ALL",
                                    debug   => "/NOOPTIMIZE/DEBUG",
                                    release => "/OPTIMIZE/NODEBUG"),
+        defines          => add("OPENSSL_USE_NODELETE"),
         lflags           => picker(default => "/MAP",
                                    debug   => "/DEBUG/TRACEBACK",
                                    release => "/NODEBUG/NOTRACEBACK"),