* ld-auto-import/auto-import.exp: Add missing dll entrypoint.

This commit is contained in:
Dave Korn 2009-03-15 14:17:28 +00:00
parent 61ff14c69a
commit 588b6e15ae
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-03-15 Dave Korn <dave.korn.cygwin@gmail.com>
* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,

View File

@ -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 "$ld -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 -e __cygwin_dll_entry@12 --out-implib=$tmpdir/libstandard.dll.a" $tmpdir/dll.dll "$tmpdir/dll.o $MYLIBS"] {
fail "linking shared lib"
}