VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1k/util/local_shlib.com.in@ 90517

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

openssl-1.1.1k: Applied and adjusted our OpenSSL changes to 1.1.1k. bugref:10072

File size: 1.0 KB
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$ ! Create a local environment with the shared library logical names
10$ ! properly set. Undo this with unlocal_shlib.com
11$
12$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
13$ CREATE/NAME_TABLE/PARENT_TABLE=LNM$PROCESS_DIRECTORY 'OPENSSL_NAMES'
14$ DEFINE/TABLE='OPENSSL_NAMES' OSSL_FLAG YES
15$
16$ NAMES := {- join(",", keys %names); -}
17{-
18 join("\n", map { "\$ __$_ = \"".$names{$_}."\"" } keys %names);
19-}
20$ I = 0
21$ LOOP:
22$ E = F$ELEMENT(I,",",NAMES)
23$ I = I + 1
24$ IF E .EQS. "," THEN GOTO ENDLOOP
25$ EV = __'E'
26$ OLDV = F$TRNLNM(E,"LNM$PROCESS")
27$ IF OLDV .NES. "" THEN DEFINE/TABLE='OPENSSL_NAMES' 'E' 'OLDV'
28$ DEFINE 'E' 'EV'
29$ GOTO LOOP
30$ ENDLOOP:
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