libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use -no-undefined in install tests.


From: Ralf Wildenhues
Subject: Use -no-undefined in install tests.
Date: Wed, 12 Nov 2008 07:23:38 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Another trivial testsuite failure with w32 (cross compiled; the failure
is exposed with the pending *EXEC_CHECK patch applied).  Pushed.

Cheers,
Ralf

        Use -no-undefined in install tests.
        * tests/install.at (Install tests): Use `-no-undefined'.

diff --git a/tests/install.at b/tests/install.at
index e0a075c..f77970e 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])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]