From: Alexandre Oliva Date: Fri, 2 Apr 1999 13:41:42 +0000 (+0000) Subject: * ltmain.in (-L*): do not abort just because a directory specified X-Git-Tag: release-1-3~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6541c3281aec8f7493576895bfe3ac8e68fed4b;p=thirdparty%2Flibtool.git * ltmain.in (-L*): do not abort just because a directory specified with -L does not exist; just warn and discard it --- diff --git a/ChangeLog b/ChangeLog index b5a53646a..fe91e8a35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-04-02 Alexandre Oliva + * 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 diff --git a/ltmain.in b/ltmain.in index 7930d1233..65b519093 100644 --- 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