From 49213c498909b496e90be1bbd21263f596345dd8 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 14 Mar 2011 20:37:59 -0500 Subject: Accomodate w32api libs in sys-root/usr/lib/w32api --- w32api-sysroot.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 w32api-sysroot.patch (limited to 'w32api-sysroot.patch') 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 ; -- cgit