diff options
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 0aca3d0..6860268 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -206,7 +206,8 @@ i[3456]86-*-winnt*) targ_emul=i386pe ; i[3456]86-*-pe) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3456]86-*-cygwin*) targ_emul=i386pe ; - targ_extra_ofiles="deffilep.o pe-dll.o" ;; + targ_extra_ofiles="deffilep.o pe-dll.o" + test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; i[3456]86-*-mingw32*) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3456]86-*-interix*) targ_emul=i386pe_posix; |