VMS: If configured no-shared, don't provide shareable image logical names
[openssl.git] / VMS / openssl_shutdown.com.in
index 81cf4ea721d1688161aee092e552f3f9c7fa6967..f0df1c1c356f419b88b970fb9f6ccb1452a6f2bf 100644 (file)
@@ -29,6 +29,7 @@ $     DEAS := DEASSIGN /NOLOG 'P1'
 $      sv   := {- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}
 $      pz   := {- $config{pointer_size} -}
 $
+$      DEAS OSSL$DATAROOT
 $      DEAS OSSL$INSTROOT
 $      DEAS OSSL$INCLUDE
 $      DEAS OSSL$LIB
@@ -37,15 +38,19 @@ $   DEAS OSSL$ENGINES'sv'
 $      DEAS OSSL$EXE
 $      DEAS OSSL$LIBCRYPTO'pz'
 $      DEAS OSSL$LIBSSL'pz'
+${- output_off() if $config{no_shared}; "" -}
 $      DEAS OSSL$LIBCRYPTO'sv'_SHR'pz'
 $      DEAS OSSL$LIBSSL'sv'_SHR'pz'
+${- output_on() if $config{no_shared}; "" -}
 $      DEAS OPENSSL
 $
 $      IF P2 .NES. "NOALIASES"
 $      THEN
 $          DEAS OSSL$ENGINES
+${- output_off() if $config{no_shared}; "" -}
 $          DEAS OSSL$LIBCRYPTO_SHR'pz'
 $          DEAS OSSL$LIBSSL_SHR'pz'
+${- output_on() if $config{no_shared}; "" -}
 $      ENDIF
 $
 $      EXIT 'status'