From: Ralf Wildenhues Date: Tue, 6 Feb 2007 23:27:09 +0000 (+0000) Subject: * tests/lt_dlexit.at: Do not compile main object with libtool. X-Git-Tag: release-2-1b~205 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=921ef22f1ac07b0939f0d7351c96e9629d33c6ab;p=thirdparty%2Flibtool.git * tests/lt_dlexit.at: Do not compile main object with libtool. --- diff --git a/ChangeLog b/ChangeLog index ae5e28778..6d804db29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-02-06 Ralf Wildenhues + * tests/lt_dlexit.at: Do not compile main object with libtool. + * tests/cmdline_wrap.at: Pass $abs_top_srcdir and $abs_builddir to inner testsuite. diff --git a/tests/lt_dlexit.at b/tests/lt_dlexit.at index e4a0a4a30..a5be7c5ee 100644 --- a/tests/lt_dlexit.at +++ b/tests/lt_dlexit.at @@ -120,9 +120,10 @@ int vb1 = 3; CPPFLAGS="$CPPFLAGS $LTDLINCL" LDFLAGS="$LDFLAGS -no-undefined" -for file in a1 b1 main; do +for file in a1 b1; do $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file.c done +$CC $CPPFLAGS $CFLAGS -c main.c AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba1.la a1.lo \ -rpath /foo -avoid-version], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o modb1.la b1.lo \