]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (-L*): do not abort just because a directory specified
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 2 Apr 1999 13:41:42 +0000 (13:41 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 2 Apr 1999 13:41:42 +0000 (13:41 +0000)
with -L does not exist; just warn and discard it

ChangeLog
ltmain.in

index b5a53646abddf7f4c217d7f2ff562acf33458cfc..fe91e8a3564c7f1452989cd8e57e9304ce191754 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltmain.in (-L*): do not abort just because a directory specified 
+       with -L does not exist; just warn and discard it
+
        * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
        should have been using -Bshareable
 
index 7930d123313d7c62409196b139fe30b9566c3e7d..65b51909381f23f3ba338998c16ef5a6423ad46e 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1003,8 +1003,8 @@ compiler."
        dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
        if test -d "$dir"; then :
        else
-         $echo "$modename: directory \`$dir' does not exist" 1>&2
-         exit 1
+         $echo "$modename: directory \`$dir' does not exist, dropping it" 1>&2
+         continue
        fi
        # We need an absolute path.
        case "$dir" in