From: Ralf Wildenhues Date: Wed, 12 Nov 2008 06:21:20 +0000 (+0100) Subject: Use -no-undefined in install tests. X-Git-Tag: v2.2.7b~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7cccd31202d0a6d0ff91e0798d29664dc916f5d;p=thirdparty%2Flibtool.git Use -no-undefined in install tests. * tests/install.at (Install tests): Use `-no-undefined'. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 3753fc6ee..5def4b434 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-12 Ralf Wildenhues + + Use -no-undefined in install tests. + * tests/install.at (Install tests): Use `-no-undefined'. + 2008-11-11 Ralf Wildenhues Do not use `test ... -a ...'. diff --git a/tests/install.at b/tests/install.at index e0a075c11..f77970e36 100644 --- a/tests/install.at +++ b/tests/install.at @@ -39,7 +39,8 @@ mkdir inst echo 'int a () { return 0; }' > a.c $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c -$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $inst +AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo ]dnl + [-rpath $inst -no-undefined], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=install $INSTALL liba.la $inst], [], [stdout], [ignore]) AT_CHECK([grep ' -m 755' stdout], [], [ignore])