summaryrefslogtreecommitdiffstats
path: root/w32api-sysroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'w32api-sysroot.patch')
-rw-r--r--w32api-sysroot.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/w32api-sysroot.patch b/w32api-sysroot.patch
index a996aef..a8373c9 100644
--- a/w32api-sysroot.patch
+++ b/w32api-sysroot.patch
@@ -1,6 +1,6 @@
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
-@@ -271,7 +271,7 @@ i[3-7]86-*-pe) targ_emul=i386pe ;
+@@ -263,7 +263,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"
@@ -8,4 +8,4 @@
+ 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 ;
+ x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ;