From d4d597e0ed9ce56c598dc0e85e48a73ca8faf1d0 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 14 Mar 1999 10:56:23 +0000 Subject: [PATCH] * ltmain.in (deplibs_check_method=none): discard -L and -R switches when testing whether deplibs contains some library --- ChangeLog | 5 +++++ ltmain.in | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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." -- 2.47.3