diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index 60c291d9456..6f0b82fd67d 100755 --- a/utils/GenLibDeps.pl +++ b/utils/GenLibDeps.pl @@ -6,7 +6,7 @@ # libraries. The output of this script should periodically replace # the similar content in the UsingLibraries.html document. # -# Syntax: GenLibDeps.pl +# Syntax: GenLibDeps.pl [-flat] # # Parse arguments... @@ -76,7 +76,7 @@ sub gen_one_entry { print "
$lib
    \n"; } open UNDEFS, - "nm -g -u $Directory/$lib | grep ' U ' | sed -e 's/ U //' | sort | uniq |"; + "nm -g -u $Directory/$lib | sed -e 's/^ *U //' | sort | uniq |"; open DEPENDS, "| sort | uniq > GenLibDeps.out"; while () {