VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/util/unlocal_shlib.com.in@ 94082

Last change on this file since 94082 was 94082, checked in by vboxsync, 3 years ago

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

File size: 948 bytes
Line 
1${-
2 use File::Spec::Functions qw(rel2abs);
3
4 my $bldtop = rel2abs($config{builddir});
5 our %names = ( map { platform->sharedname($_) =>
6 $bldtop.platform->sharedlib($_) }
7 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
8 @{$unified_info{libraries}} );
9 "" -}
10$ ! Remove the local environment created by local_shlib.com
11$
12$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
13$ IF F$TRNLNM("OSSL_FLAG",OPENSSL_NAMES) .EQS. "" THEN EXIT 0
14$
15$ NAMES := {- join(",", sort keys %names); -}
16$ I = 0
17$ LOOP:
18$ E = F$ELEMENT(I,",",NAMES)
19$ I = I + 1
20$ IF E .EQS. "," THEN GOTO ENDLOOP
21$ OLDV = F$TRNLNM(E,OPENSSL_NAMES)
22$ DEASSIGN 'E'
23$ IF OLDV .NES. "" THEN DEFINE 'E' 'OLDV'
24$ GOTO LOOP
25$ ENDLOOP:
26$
27$ DEASSIGN 'OPENSSL_NAMES' /TABLE=LNM$PROCESS_DIRECTORY
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette