diff options
| author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-03-14 20:37:59 -0500 |
|---|---|---|
| committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-03-14 20:37:59 -0500 |
| commit | 49213c498909b496e90be1bbd21263f596345dd8 (patch) | |
| tree | 8a163fda9ee4d013da1ad9772f747ce4ed7712f9 /w32api-sysroot.patch | |
| parent | 86f5e4614beb9fefdd584305382628364e427950 (diff) | |
Accomodate w32api libs in sys-root/usr/lib/w32api
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 ; |
