Only print warning on nm failure because it fails on darwin if there

are no symbols (reported by Pierre d'Herbemont).
This commit is contained in:
Alexandre Julliard 2003-05-14 19:36:28 +00:00
parent d17bc912db
commit 28b64db6d5
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ void read_undef_symbols( char **argv )
if (p[0] == 'U' && p[1] == ' ' && p[2]) p += 2; if (p[0] == 'U' && p[1] == ' ' && p[2]) p += 2;
add_undef_symbol( p ); add_undef_symbol( p );
} }
if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err ); if ((err = pclose( f ))) warning( "nm -u %s error %d\n", name, err );
} }
static void remove_ignored_symbols(void) static void remove_ignored_symbols(void)