summaryrefslogtreecommitdiffstats
path: root/w32api-sysroot.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2020-04-01 15:08:03 -0400
committerYaakov Selkowitz <yselkowi@redhat.com>2020-04-01 15:08:03 -0400
commita9bf03e3ec0a624e553e5a099c440fe85a8cfcf4 (patch)
tree35f79fc89aa8a4d64c38c438a9a5a0587284be30 /w32api-sysroot.patch
parent8d8470e4d35e3c07c585d802ea86ddc8e262e156 (diff)
downloadcygwin-binutils-a9bf03e3ec0a624e553e5a099c440fe85a8cfcf4.tar.gz
cygwin-binutils-a9bf03e3ec0a624e553e5a099c440fe85a8cfcf4.tar.xz
cygwin-binutils-a9bf03e3ec0a624e553e5a099c440fe85a8cfcf4.zip
cygwin-binutils 2.34
Diffstat (limited to 'w32api-sysroot.patch')
-rw-r--r--w32api-sysroot.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/w32api-sysroot.patch b/w32api-sysroot.patch
index cdf8d3c..0220d9d 100644
--- a/w32api-sysroot.patch
+++ b/w32api-sysroot.patch
@@ -1,20 +1,22 @@
+diff --git a/ld/configure.tgt b/ld/configure.tgt
+index 23194e357f..5953f0a119 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
-@@ -263,7 +263,7 @@ i[3-7]86-*-pe) targ_emul=i386pe ;
- targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+@@ -387,7 +387,7 @@ i[3-7]86-*-pe) targ_emul=i386pe ;
+ ;;
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' ;;
+- 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-*-pe | x86_64-*-pep) targ_emul=i386pep ;
-@@ -319,7 +319,7 @@ x86_64-*-pe | x86_64-*-pep) targ_emul=i3
+ targ_extra_ofiles="deffilep.o pe-dll.o"
+@@ -991,7 +991,7 @@ x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ;
x86_64-*-cygwin) targ_emul=i386pep ;
targ_extra_emuls=i386pe
targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o"
-- test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
-+ test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api:=/usr/lib/w32api' ;;
+- test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api'
++ test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api:=/usr/lib/w32api'
+ ;;
x86_64-*-mingw*) targ_emul=i386pep ;
targ_extra_emuls=i386pe
- targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;