From 921ef22f1ac07b0939f0d7351c96e9629d33c6ab Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 6 Feb 2007 23:27:09 +0000 Subject: [PATCH] * tests/lt_dlexit.at: Do not compile main object with libtool. --- ChangeLog | 2 ++ tests/lt_dlexit.at | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae5e2877..6d804db2 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 e4a0a4a3..a5be7c5e 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 \