mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
* tests/lt_dlexit.at: Do not compile main object with libtool.
This commit is contained in:
parent
2a05c52174
commit
921ef22f1a
@ -1,5 +1,7 @@
|
|||||||
2007-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
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
|
* tests/cmdline_wrap.at: Pass $abs_top_srcdir and $abs_builddir
|
||||||
to inner testsuite.
|
to inner testsuite.
|
||||||
|
|
||||||
|
@ -120,9 +120,10 @@ int vb1 = 3;
|
|||||||
CPPFLAGS="$CPPFLAGS $LTDLINCL"
|
CPPFLAGS="$CPPFLAGS $LTDLINCL"
|
||||||
LDFLAGS="$LDFLAGS -no-undefined"
|
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
|
$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file.c
|
||||||
done
|
done
|
||||||
|
$CC $CPPFLAGS $CFLAGS -c main.c
|
||||||
AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba1.la a1.lo \
|
AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba1.la a1.lo \
|
||||||
-rpath /foo -avoid-version], [], [ignore], [ignore])
|
-rpath /foo -avoid-version], [], [ignore], [ignore])
|
||||||
AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o modb1.la b1.lo \
|
AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o modb1.la b1.lo \
|
||||||
|
Loading…
Reference in New Issue
Block a user