Fixup 'execute mode' test for w32.

* tests/execute-mode.at (execute mode): Add missing $EXEEXT.
(LDFLAGS): Add -no-undefined.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Roumen Petrov 2009-07-24 22:59:46 +02:00 committed by Ralf Wildenhues
parent 00558363da
commit 04329d8355
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-07-24 Roumen Petrov <bugtrack@roumenpetrov.info> (tiny change)
Fixup 'execute mode' test for w32.
* tests/execute-mode.at (execute mode): Add missing $EXEEXT.
(LDFLAGS): Add -no-undefined.
2009-07-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
Charles Wilson <libtool@cwilson.fastmail.fm>

View File

@ -110,6 +110,7 @@ int main (int argc, char **argv)
}
]])
LDFLAGS="$LDFLAGS -no-undefined"
instdir=`pwd`/inst
libdir=$instdir/lib
@ -211,7 +212,7 @@ do
done
# Check that .la files are not transformed by the wrapper searching loop.
AT_CHECK([$LIBTOOL --mode=execute echo ./main liba.lo libfakelib.la], [], [stdout])
AT_CHECK([$LIBTOOL --mode=execute echo ./main$EXEEXT liba.lo libfakelib.la], [], [stdout])
# This could be .libs/lt-main or similar (or just plain `main').
AT_CHECK([grep main stdout], [], [ignore])
AT_CHECK([grep liba.lo stdout], [], [ignore])