[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: don't feed -no-undefined to the linker during, configure.
From: |
Peter Rosin |
Subject: |
[PATCH] tests: don't feed -no-undefined to the linker during, configure. |
Date: |
Wed, 19 Sep 2012 08:55:21 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
* tests/deplibs-mingw.at: Restore LDFLAGS for the configure run so that
the linker does not see -no-undefined. Makes the test pass instead of
skip on MinGW.
Signed-off-by: Peter Rosin <address@hidden>
---
tests/deplibs-mingw.at | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Ok to push?
Or should I simply rename the LDFLAGS variable? To my_LDFLAGS?
Cheers,
Peter
diff --git a/tests/deplibs-mingw.at b/tests/deplibs-mingw.at
index 6973c4f..dd2b8e8 100644
--- a/tests/deplibs-mingw.at
+++ b/tests/deplibs-mingw.at
@@ -31,6 +31,7 @@ cwd=`pwd`
instdir=$cwd/inst
libdir=$instdir/lib
bindir=$instdir/bin
+save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -no-undefined"
mkdir inst inst/bin inst/lib
@@ -76,7 +77,9 @@ EOF
cd new-libtool
# configure might fail due to in-tree build of toplevel, or
# missing configure flags and other reasons.
+ LDFLAGS=$save_LDFLAGS
LT_AT_CONFIGURE([|| exit 77], ["$abs_top_srcdir"/configure])
+ LDFLAGS="$LDFLAGS -no-undefined"
cd ..
LIBTOOL=new-libtool/libtool
export LIBTOOL
--
1.7.9
- [PATCH] tests: don't feed -no-undefined to the linker during, configure.,
Peter Rosin <=