winegcc: Support distros using plain lib for 32-bit libraries in get_lib_dir.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-08-20 13:58:40 +02:00 committed by Alexandre Julliard
parent 27338bc4b5
commit b9427efe3e

View file

@ -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 );
}
}