2017-03-15 05:09:57 +08:00
|
|
|
${-
|
2019-03-01 21:15:13 +08:00
|
|
|
use File::Spec::Functions qw(rel2abs);
|
|
|
|
|
|
|
|
my $bldtop = rel2abs($config{builddir});
|
2018-10-23 21:00:36 +08:00
|
|
|
our %names = ( map { platform->sharedname($_) =>
|
|
|
|
$bldtop.platform->sharedlib($_) }
|
2019-03-01 21:15:13 +08:00
|
|
|
grep { !$unified_info{attributes}->{$_}->{noinst} }
|
|
|
|
@{$unified_info{libraries}} );
|
2017-03-15 05:09:57 +08:00
|
|
|
"" -}
|
|
|
|
$ ! Remove the local environment created by local_shlib.com
|
|
|
|
$
|
|
|
|
$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
|
|
|
|
$ IF F$TRNLNM("OSSL_FLAG",OPENSSL_NAMES) .EQS. "" THEN EXIT 0
|
|
|
|
$
|
2018-10-23 21:00:36 +08:00
|
|
|
$ NAMES := {- join(",", sort keys %names); -}
|
2017-03-15 05:09:57 +08:00
|
|
|
$ I = 0
|
|
|
|
$ LOOP:
|
|
|
|
$ E = F$ELEMENT(I,",",NAMES)
|
|
|
|
$ I = I + 1
|
|
|
|
$ IF E .EQS. "," THEN GOTO ENDLOOP
|
|
|
|
$ OLDV = F$TRNLNM(E,OPENSSL_NAMES)
|
|
|
|
$ DEASSIGN 'E'
|
|
|
|
$ IF OLDV .NES. "" THEN DEFINE 'E' 'OLDV'
|
|
|
|
$ GOTO LOOP
|
|
|
|
$ ENDLOOP:
|
|
|
|
$
|
|
|
|
$ DEASSIGN 'OPENSSL_NAMES' /TABLE=LNM$PROCESS_DIRECTORY
|