From: Ralf Wildenhues Date: Sat, 13 Aug 2005 06:57:39 +0000 (+0000) Subject: * tests/link-order.at: Add -no-undefined to LDFLAGS. X-Git-Tag: release-2-1b~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ef6cdef83ca07a5c77074ec3fdbec123061583c;p=thirdparty%2Flibtool.git * tests/link-order.at: Add -no-undefined to LDFLAGS. --- diff --git a/ChangeLog b/ChangeLog index a2a0da94c..92e0260d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-08-13 Ralf Wildenhues + * tests/link-order.at: Add -no-undefined to LDFLAGS. + * tests/convenience.at, tests/template.at: Change suffix of C++ files to .cpp, for compatibility with MSVC. Reported by Peter Ekberg . diff --git a/tests/link-order.at b/tests/link-order.at index acec8ab38..c51e0a261 100644 --- a/tests/link-order.at +++ b/tests/link-order.at @@ -20,6 +20,7 @@ AT_SETUP([Link order test.]) eval `$LIBTOOL --config | grep ECHO=` +LDFLAGS="$LDFLAGS -no-undefined" prefix_old=`pwd`/old prefix_new=`pwd`/new @@ -53,7 +54,7 @@ EOF $LIBTOOL --mode=compile $CC $CFLAGS -c src/b_$i.c -o src/b.lo $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o src/libb.la src/b.lo \ -L$prefix_old/lib -lcee -rpath $prefix/lib - $LIBTOOL --mode=link $CC $CFLAGS -o src/liba.la src/a.lo \ + $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o src/liba.la src/a.lo \ src/libb.la -L$prefix_old/lib -lcee -rpath $prefix/lib $LIBTOOL --mode=install cp src/libb.la $prefix/lib/libb.la AT_CHECK([$LIBTOOL --mode=install cp src/liba.la $prefix/lib/liba.la],