From 04329d83555b5f8d2fd02428418a79ea392b2d91 Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Fri, 24 Jul 2009 22:59:46 +0200 Subject: [PATCH] Fixup 'execute mode' test for w32. * tests/execute-mode.at (execute mode): Add missing $EXEEXT. (LDFLAGS): Add -no-undefined. Signed-off-by: Ralf Wildenhues --- ChangeLog | 6 ++++++ tests/execute-mode.at | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a644b2675..5a81a69c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-07-24 Roumen Petrov (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 (tiny change) Charles Wilson diff --git a/tests/execute-mode.at b/tests/execute-mode.at index 0fba29cf7..a1f201774 100644 --- a/tests/execute-mode.at +++ b/tests/execute-mode.at @@ -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]) -- 2.47.3