diff options
Diffstat (limited to 'w32api-sysroot.patch')
-rw-r--r-- | w32api-sysroot.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/w32api-sysroot.patch b/w32api-sysroot.patch new file mode 100644 index 0000000..a996aef --- /dev/null +++ b/w32api-sysroot.patch @@ -0,0 +1,11 @@ +--- a/ld/configure.tgt ++++ b/ld/configure.tgt +@@ -271,7 +271,7 @@ i[3-7]86-*-pe) targ_emul=i386pe ; + targ_extra_ofiles="deffilep.o pe-dll.o" ;; + i[3-7]86-*-cygwin*) targ_emul=i386pe ; + targ_extra_ofiles="deffilep.o pe-dll.o" +- test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; ++ test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api:=/usr/lib/w32api' ;; + i[3-7]86-*-mingw32*) targ_emul=i386pe ; + targ_extra_ofiles="deffilep.o pe-dll.o" ;; + x86_64-*-mingw*) targ_emul=i386pep ; |