Not quite as flexible, but lighter and sufficient.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2004-12-22 06:27:25 +00:00
parent 66ffb23b39
commit eb57b07a27

View File

@ -1006,11 +1006,10 @@ lib_flags_for()
# will let the more heinous bugs in configure shake out.
# We should maybe filter *.a here too, but not unless
# we have to.
if echo "$f" | grep ^-l > /dev/null 2>&1 ; then
_all_libs="$(remove_field $f $_all_libs) $f"
else
_all_libs="$_all_libs $f"
fi
case "$f" in
-l*) _all_libs="$(remove_field $f $_all_libs) $f" ;;
*) _all_libs="$_all_libs $f" ;;
esac
done
else