From: Roumen Petrov Date: Fri, 24 Jul 2009 20:59:46 +0000 (+0200) Subject: Fixup 'execute mode' test for w32. X-Git-Tag: v2.2.7b~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04329d83555b5f8d2fd02428418a79ea392b2d91;p=thirdparty%2Flibtool.git Fixup 'execute mode' test for w32. * tests/execute-mode.at (execute mode): Add missing $EXEEXT. (LDFLAGS): Add -no-undefined. Signed-off-by: Ralf Wildenhues --- 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])