diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-20 17:51:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-02-20 17:51:18 +0000 |
commit | 5bf30c1625c877be33e2029cfa290b44c1f0bf68 (patch) | |
tree | bc30915c6175678aa9a3436bf458f4f98011c8bb /ld/testsuite/ld-auto-import | |
parent | 96d3cffec0d9bcc2324384d27413aee3eb37317b (diff) | |
download | binutils-redhat-5bf30c1625c877be33e2029cfa290b44c1f0bf68.tar.gz |
* ld-auto-import/auto-import.exp: Use $ld to link the dll for
cygwin, not $CC.
Diffstat (limited to 'ld/testsuite/ld-auto-import')
-rw-r--r-- | ld/testsuite/ld-auto-import/auto-import.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-auto-import/auto-import.exp b/ld/testsuite/ld-auto-import/auto-import.exp index 0192345e7e..5b3a484598 100644 --- a/ld/testsuite/ld-auto-import/auto-import.exp +++ b/ld/testsuite/ld-auto-import/auto-import.exp @@ -1,5 +1,5 @@ # 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. @@ -122,7 +122,7 @@ if [istarget *-pc-cygwin] { 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" } |