VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1l/util/unlocal_shlib.com.in@ 91772

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

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

File size: 862 bytes
Line 
1${-
2 use File::Spec::Functions qw(rel2abs);
3
4 my $bldtop = rel2abs($config{builddir});
5 our %names = ( map { $_ => $bldtop.$_.".EXE" }
6 map { $unified_info{sharednames}->{$_} || () }
7 @{$unified_info{libraries}} );
8 "" -}
9$ ! Remove the local environment created by local_shlib.com
10$
11$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
12$ IF F$TRNLNM("OSSL_FLAG",OPENSSL_NAMES) .EQS. "" THEN EXIT 0
13$
14$ NAMES := {- join(",", keys %names); -}
15$ I = 0
16$ LOOP:
17$ E = F$ELEMENT(I,",",NAMES)
18$ I = I + 1
19$ IF E .EQS. "," THEN GOTO ENDLOOP
20$ OLDV = F$TRNLNM(E,OPENSSL_NAMES)
21$ DEASSIGN 'E'
22$ IF OLDV .NES. "" THEN DEFINE 'E' 'OLDV'
23$ GOTO LOOP
24$ ENDLOOP:
25$
26$ 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