]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Use -no-undefined in install tests.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Nov 2008 06:21:20 +0000 (07:21 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Nov 2008 06:21:20 +0000 (07:21 +0100)
* tests/install.at (Install tests): Use `-no-undefined'.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/install.at

index 3753fc6eeb1930cc5ced7514a788effdc6d811c1..5def4b434e1322db261972aaab171228eb9dbd96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Use -no-undefined in install tests.
+       * tests/install.at (Install tests): Use `-no-undefined'.
+
 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Do not use `test ... -a ...'.
index e0a075c1188365c17b9e95f6b6397d8393e33989..f77970e36befce184aba83a07afdc684dda3ea5f 100644 (file)
@@ -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])