mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
ltmain: Fix testsuite errors for windows
Numerous test failures on windows/cygwin/mingw result with: did not find the 'nothing' variable A syntax fix resolves these test failures for 64-bit windows- based systems. * build-aux/ltmain.in: Alter syntax in sed command.
This commit is contained in:
parent
e22141c0c5
commit
98e83597c0
@ -2813,8 +2813,16 @@ extern \"C\" {
|
||||
eval '$ECHO ": $name " >> "$nlist"'
|
||||
fi
|
||||
func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
|
||||
eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
|
||||
$SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
|
||||
case $host in
|
||||
i[3456]86-*-mingw32*)
|
||||
eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
|
||||
$SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
|
||||
;;
|
||||
*)
|
||||
eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
|
||||
$SED -e '/I __imp/d' -e 's/I __nm_/D /;s/__nm_//' >> '$nlist'"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
else # not an import lib
|
||||
$opt_dry_run || {
|
||||
|
Loading…
Reference in New Issue
Block a user