libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

link.test


From: Charles Wilson
Subject: link.test
Date: Sat, 09 Oct 2004 21:55:40 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b

The following two-line string, stored in the variable $linkresult


gcc -o .libs/gettext  ../lib/libnlsut.a
libtool: link: creating gettext.exe


doesn't match the expected value in the case statement:



case "$linkresult" in
*../lib/libnlsut.a) ;;
*)
func_fail "$progname: ../lib/libnlsut.a was not used as expected in linking"
  ;;
esac


Any ideas? Should we strip off the first line of $linkresult and only match that? Use *../lib/libnlsut.a\n*) or something as the match string (How DO you encode a newline in a match string is POSIX sh?)

--
Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]