+2008-02-20 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * ld-auto-import/auto-import.exp: Use $ld to link the dll for
+ cygwin, not $CC.
+
2008-02-18 Hans-Peter Nilsson <hp@axis.com>
* lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings
# Expect script for ld-auto-import tests
-# Copyright 2002, 2007
+# Copyright 2002, 2007, 2008
# Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/dll.c $tmpdir/dll.o] {
fail "compiling shared lib"
}
- if ![ld_special_link "$CC -shared --enable-auto-import --out-implib=$tmpdir/libstandard.dll.a" $tmpdir/dll.dll "$tmpdir/dll.o $MYLIBS"] {
+ if ![ld_special_link "$ld -shared --enable-auto-import --out-implib=$tmpdir/libstandard.dll.a" $tmpdir/dll.dll "$tmpdir/dll.o $MYLIBS"] {
fail "linking shared lib"
}