From f7cccd31202d0a6d0ff91e0798d29664dc916f5d Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 12 Nov 2008 07:21:20 +0100 Subject: [PATCH] Use -no-undefined in install tests. * tests/install.at (Install tests): Use `-no-undefined'. Signed-off-by: Ralf Wildenhues --- ChangeLog | 5 +++++ tests/install.at | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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]) -- 2.47.3