From: Gary V. Vaughan Date: Mon, 17 May 1999 15:58:02 +0000 (+0000) Subject: * ltmain.in: Do not exit when an unknown library name is passed X-Git-Tag: release-1-3-1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc6ce7503a86441063d6317f1031917dd79de259;p=thirdparty%2Flibtool.git * ltmain.in: Do not exit when an unknown library name is passed passed in, simply warn and continue since some compilers require -LANG:* like options to work. Reported by Adam C. Powell, IV --- diff --git a/ChangeLog b/ChangeLog index 22d5c1b38..cab920746 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-05-17 Gary V. Vaughan + + * ltmain.in: Do not exit when an unknown library name is passed + passed in, simply warn and continue since some compilers require + -LANG:* like options to work. + Reported by Adam C. Powell, IV + 1999-05-17 Jiro Takabatake * ltconfig.in: port to NEC UX/4800. diff --git a/ltmain.in b/ltmain.in index 34fef091c..64ce0c6bd 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1021,8 +1021,9 @@ compiler." *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 - exit 1 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + absdir="$dir" fi dir="$absdir" ;; @@ -1294,8 +1295,9 @@ compiler." *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 - exit 1 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + absdir="$dir" fi ;; esac