* 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>
instdir=$cwd/inst
libdir=$instdir/lib
bindir=$instdir/bin
+save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -no-undefined"
mkdir inst inst/bin inst/lib
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