]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (pass_all=none, droppeddeps): set only if deplibs was
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 25 Jan 1999 04:04:18 +0000 (04:04 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 25 Jan 1999 04:04:18 +0000 (04:04 +0000)
non-empty

ChangeLog
ltmain.in

index 97ab861c51ac156afa8411e8be7293b32ceb0279..c0a91d2eec6982a4891de7ed1bef5605486d8818 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * ltmain.in (pass_all=none, droppeddeps): set only if deplibs was
+       non-empty
+
 1999-01-24  Thomas Tanner  <tanner@gmx.de>
 
        * libltdl/ltdl.c: minor bugfixes, append a "/" the search 
index fa54551147194b4977f47e2556875aebae09c7a9..0b4e7e0b393861559b384197959dbb81f2e1597f 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1774,7 +1774,12 @@ EOF
            fi
          done # Gone through all deplibs.
          ;;
-       none | unknown | *) newdeplibs=""; droppeddeps=yes ;;
+       none | unknown | *) newdeplibs="";
+         if $echo "X$deplibs" | $Xsed -e 's/ -lc$//' -e 's/[   ]//g' \
+            | grep . >/dev/null; then
+           droppeddeps=yes
+         fi
+         ;;
        esac
        versuffix=$versuffix_save
        major=$major_save