Jacek Caban : winegcc: Support distros using plain lib for 32-bit libraries in get_lib_dir.
Alexandre Julliard
julliard at winehq.org
Mon Aug 20 13:26:11 CDT 2018
Module: wine
Branch: master
Commit: b9427efe3e16a8aa3d948be37248f24f537610d1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b9427efe3e16a8aa3d948be37248f24f537610d1
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Aug 20 13:58:40 2018 +0200
winegcc: Support distros using plain lib for 32-bit libraries in get_lib_dir.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/winegcc/winegcc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index b586c04..05a0ebb 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -507,6 +507,9 @@ static char *get_lib_dir( struct options *opts )
{
memcpy( p + 4, bit_suffix, 2 );
if (check_platform( opts, buffer )) goto found;
+ memmove( p + 4, p + 6, strlen( p + 6 ) + 1 );
+ if (check_platform( opts, buffer )) goto found;
+ memmove( p + 6, p + 4, strlen( p + 4 ) + 1 );
memcpy( p + 4, other_bit_suffix, 2 );
}
}
More information about the wine-cvs
mailing list