* tests/lt_dlexit.at: Do not compile main object with libtool.

This commit is contained in:
Ralf Wildenhues 2007-02-06 23:27:09 +00:00
parent 2a05c52174
commit 921ef22f1a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2007-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* 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.

View File

@ -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 \