mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
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:
parent
00558363da
commit
04329d8355
@ -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>
|
||||
|
||||
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user