From 0d55a7031e8023aa448c11ca6dcce912eb7e00a3 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Mon, 17 May 1999 15:53:58 +0000 Subject: [PATCH] * 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 --- ChangeLog | 7 +++++++ ltmain.in | 10 ++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf80c2ab9..cdb4bca5a 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 884a29702..f868fc6b3 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1630,8 +1630,9 @@ compiler." *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then - $echo "$modename: cannot determine absolute directory name of \`$ladir'" 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 @@ -2548,8 +2549,9 @@ EOF *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then - $echo "$modename: cannot determine absolute directory name of \`$ladir'" 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 -- 2.47.3