]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/lt_dlexit.at: Do not compile main object with libtool.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 23:27:09 +0000 (23:27 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 23:27:09 +0000 (23:27 +0000)
ChangeLog
tests/lt_dlexit.at

index ae5e2877899c7fee338ebeb36c0f944df1de0fec..6d804db290f12a773ceac33359078ca25b8d49f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index e4a0a4a3091717904cf8f1fd87b4cf24a01e6197..a5be7c5ee14e777dd3e1f296338b36da9c0f37ae 100644 (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 \