From: Alexandre Oliva Date: Sun, 14 Mar 1999 10:56:23 +0000 (+0000) Subject: * ltmain.in (deplibs_check_method=none): discard -L and -R X-Git-Tag: release-1-2f~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4d597e0ed9ce56c598dc0e85e48a73ca8faf1d0;p=thirdparty%2Flibtool.git * ltmain.in (deplibs_check_method=none): discard -L and -R switches when testing whether deplibs contains some library --- diff --git a/ChangeLog b/ChangeLog index d64d937d4..7b5382045 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-03-14 Alexandre Oliva + + * ltmain.in (deplibs_check_method=none): discard -L and -R + switches when testing whether deplibs contains some library + 1999-03-14 Erez Zadok * config.sub: recognize hppa2.0w, yet to be installed at GNU diff --git a/ltmain.in b/ltmain.in index 3272ea8fe..e7adb9bb2 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1868,8 +1868,9 @@ EOF done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" - if $echo "X$deplibs" | $Xsed -e 's/ -lc$//' -e 's/[ ]//g' \ - | grep . >/dev/null; then + if $echo "X $deplibs" | + $Xsed -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' | + grep . >/dev/null; then echo if test "X$deplibs_check_method" = "Xnone"; then echo "*** Warning: inter-library dependencies are not supported in this platform."