# 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
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