From: Ralf Wildenhues Date: Wed, 10 Nov 2010 18:28:11 +0000 (+0100) Subject: Fix cwrapper test failure with --disable-static. X-Git-Tag: v2.4.2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca9b3ec6b8be1cdd9713845b3e7cf389cc17ae4;p=thirdparty%2Flibtool.git Fix cwrapper test failure with --disable-static. * tests/cwrapper.at (cwrapper and installed shared libraries): Compile program source without libtool, so we can be sure a non-PIC object will be created. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 5d1ec7cb4..9c169e0e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-10 Ralf Wildenhues + + Fix cwrapper test failure with --disable-static. + * tests/cwrapper.at (cwrapper and installed shared libraries): + Compile program source without libtool, so we can be sure a + non-PIC object will be created. + 2010-11-01 Peter Rosin docs: Windows DLLs and headers. diff --git a/tests/cwrapper.at b/tests/cwrapper.at index 6e8cf3c92..0e5ecb794 100644 --- a/tests/cwrapper.at +++ b/tests/cwrapper.at @@ -249,8 +249,7 @@ int main (void) } ]]) -AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c m.c], - [], [ignore], [ignore]) +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m1$EXEEXT m.$OBJEXT foo/liba.la], [], [ignore], [ignore])