diff options
| author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-03-28 01:52:59 -0500 |
|---|---|---|
| committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-03-28 01:52:59 -0500 |
| commit | 359f102527ac8a682a8b811b2938ac942fae3d04 (patch) | |
| tree | 6ce8bb1902ecd63653e186d1f0f5b5dafcefcc48 /w32api-sysroot.patch | |
| parent | 46c6a6b6868f9577c41a558ef7366416949e4043 (diff) | |
Fix w32api sysroot patch for 64bit BFD
Diffstat (limited to 'w32api-sysroot.patch')
| -rw-r--r-- | w32api-sysroot.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/w32api-sysroot.patch b/w32api-sysroot.patch index a8373c9..815da79 100644 --- a/w32api-sysroot.patch +++ b/w32api-sysroot.patch @@ -9,3 +9,12 @@ 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 + 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' ;; + x86_64-*-mingw*) targ_emul=i386pep ; + targ_extra_emuls=i386pe + targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; |
