mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
Fix test/recipes/01-test_symbol_presence.t to allow for stripped libraries
It's a small change to the 'nm' call, to have it look at dynamic symbols rather than the normal ones. Fixes #16810 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16822)
This commit is contained in:
parent
f087ebcb2e
commit
a85b4de6a6
@ -48,12 +48,12 @@ foreach my $libname (@libnames) {
|
||||
*OSTDOUT = *STDOUT;
|
||||
open STDERR, ">", devnull();
|
||||
open STDOUT, ">", devnull();
|
||||
my @nm_lines = map { s|\R$||; $_ } `nm -Pg $shlibpath 2> /dev/null`;
|
||||
my @nm_lines = map { s|\R$||; $_ } `nm -DPg $shlibpath 2> /dev/null`;
|
||||
close STDERR;
|
||||
close STDOUT;
|
||||
*STDERR = *OSTDERR;
|
||||
*STDOUT = *OSTDOUT;
|
||||
skip "Can't run 'nm -Pg $shlibpath' => $?... ignoring", 2
|
||||
skip "Can't run 'nm -DPg $shlibpath' => $?... ignoring", 2
|
||||
unless $? == 0;
|
||||
|
||||
my $bldtop = bldtop_dir();
|
||||
|
Loading…
Reference in New Issue
Block a user