summaryrefslogtreecommitdiffstats
path: root/w32api-sysroot.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-03-14 20:37:59 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-03-14 20:37:59 -0500
commit49213c498909b496e90be1bbd21263f596345dd8 (patch)
tree8a163fda9ee4d013da1ad9772f747ce4ed7712f9 /w32api-sysroot.patch
parent86f5e4614beb9fefdd584305382628364e427950 (diff)
Accomodate w32api libs in sys-root/usr/lib/w32api
Diffstat (limited to 'w32api-sysroot.patch')
-rw-r--r--w32api-sysroot.patch11
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 ;