Wine uses the wrong pkg-config for 32 bit builds
Francois Gouget
fgouget at codeweavers.com
Tue Jun 6 03:32:17 CDT 2017
On Tue, 6 Jun 2017, Alexandre Julliard wrote:
[...]
> It seems to me that you'd want to do this only in the specific case that
> we force 32-bit, other cases should be handled by the normal --host
> mechanism.
Yes, that's another possible approach.
Note though that:
* The modified version of WINE_CHECK_HOST_TOOL() honors the --host
mechanism (now I fixed the bug).
* If one runs 'configure --enable-win64' on a 32 bit platform, one would
want to make sure to use x86_64-${host_os}-pkg-config rather than
plain pkg-config.
That can be accomplished by adding another AC_CHECK_PROGS in the
relevant 'case $host' branch but it led me to think that maybe a more
general mechanism would be better.
As a side note WINE_CHECK_HOST_TOOL() is only used once; to check for
pkg-config. I'm not sure of the implications.
--
Francois Gouget <fgouget at codeweavers.com>
More information about the wine-devel
mailing list