From c6541c3281aec8f7493576895bfe3ac8e68fed4b Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 2 Apr 1999 13:41:42 +0000 Subject: [PATCH] * ltmain.in (-L*): do not abort just because a directory specified with -L does not exist; just warn and discard it --- ChangeLog | 3 +++ ltmain.in | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.3