]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-cygwin/exe-export.exp
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-cygwin / exe-export.exp
index 5fd3cf72fbde952d1e32c47a1e0a654f5225801e..05eeb7e95c77edaf129efd665e2b9795943cbac6 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for export table in executables tests\r
-#   Copyright 2003, 2007\r
+#   Copyright 2003, 2005, 2007, 2009\r
 #   Free Software Foundation, Inc.\r
 #\r
 # This file is part of the GNU Binutils.\r
@@ -119,7 +119,7 @@ if ![ld_compile "$CC $CFLAGS" $srcdir/$subdir/testexe.c $tmpdir/testexe.o] {
     return\r
 }\r
 \r
-if ![ld_special_link "$CC $LDFLAGS $MYLDFLAGS -e _testexe_main@16" $tmpdir/testexe.exe "$tmpdir/testexe.o $srcdir/$subdir/testexe.def $tmpdir/testdll.lib"] {\r
+if ![ld_special_link "$CC $LDFLAGS $MYLDFLAGS -e _testexe_main@16" $tmpdir/testexe.exe "$tmpdir/testexe.o $srcdir/$subdir/testexe.def $tmpdir/testdll.lib -lkernel32"] {\r
     fail "linking executable"\r
     return\r
 } \r