VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.5/util/unlocal_shlib.com.in

Last change on this file was 104078, checked in by vboxsync, 2 months ago

openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use