Unified on VMS - install dynamic engines if there are any
authorRichard Levitte <levitte@openssl.org>
Fri, 19 Feb 2016 23:10:43 +0000 (00:10 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 20 Feb 2016 15:51:31 +0000 (16:51 +0100)
Don't check for no_shared

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/descrip.mms.tmpl

index 1d72589eb2a0e3c59834c0c7a3b89e7f8d05eb96..279400cfc93617898ec15cbbe04d3310c3f01795 100644 (file)
@@ -317,11 +317,13 @@ install_runtime : check_INSTALLTOP
                 ossl_installroot:[000000]openssl.cnf
 
 install_engines : check_INSTALLTOP
-        @ {- output_off() if $config{no_shared}; "" -} !
+        @ {- output_off() unless scalar @{$unified_info{engines}}; "" -} !
         @ WRITE SYS$OUTPUT "*** Installing engines"
         CREATE/DIR ossl_installroot:[ENGINES.'arch']
-        COPY/PROT=W:RE [.ENGINES]*.EXE ossl_installroot:[ENGINES.'arch']
-        @ {- output_on() if $config{no_shared}; "" -} !
+        {- join("\n        ",
+                map { "COPY/PROT=W:RE $_.EXE ossl_installroot:[ENGINES.'arch']" }
+                grep(!m|ossltest$|i, @{$unified_info{engines}})) -}
+        @ {- output_on() unless scalar @{$unified_info{engines}}; "" -} !
 
 install_config : [.VMS]openssl_startup.com [.VMS]openssl_shutdown.com -
                  check_INSTALLTOP