diff options
author | Peter Rosin <peda@lysator.liu.se> | 2012-09-19 08:43:57 +0200 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2013-01-03 13:28:12 +0100 |
commit | b6bb7f9cdf66c632c2837be9ad0077f7f533b824 (patch) | |
tree | bd4077b2038e3c9716aa5ef5567187ad1455da17 /tests | |
parent | 2edfc07f74da8b0a40ad2f8baa5960fee433c045 (diff) | |
download | libtool-b6bb7f9cdf66c632c2837be9ad0077f7f533b824.tar.gz |
tests: don't feed -no-undefined to the linker during configure.
* 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 <peda@lysator.liu.se>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/deplibs-mingw.at | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/deplibs-mingw.at b/tests/deplibs-mingw.at index 825240e9..eb449fc7 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 |