[PATCH] winegcc: Fix cross linking on multiarch platforms.

Jacek Caban jacek at codeweavers.com
Wed Nov 21 06:33:52 CST 2018


From: Andre Heider <a.heider at gmail.com>

If e.g. the 64bit libdir was set to /foo/lib/x86_64-linux-gnu/bar, winegcc
will now look for the 32bit libdir at /foo/lib/i386-linux-gnu/bar.

Signed-off-by: Andre Heider <a.heider at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

I simplified string copies a bit and fixed off-by-one mistake.

  tools/winegcc/winegcc.c | 44 ++++++++++++++++++++++++++++++-----------
  1 file changed, 33 insertions(+), 11 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winegcc-Fix-cross-linking-on-multiarch-platforms.diff
Type: text/x-patch
Size: 3145 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181121/235838cd/attachment-0001.bin>


More information about the wine-devel mailing list