mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 09:26:17 +01:00
Meson: fix support for aarch64-w64-mingw32 (Windows on ARM64)
This patch fixes a build error when compiling with GCC cross compiler for Windows on ARM64. See issue #3490 for details. Signed-off-by: Carlo Bramini carlo_bramini@users.sourceforge.net Fixes: #3490 Closes #3490
This commit is contained in:
parent
7f8f0842d0
commit
2986cd3793
@ -1740,7 +1740,7 @@ glibconfig_conf.set('guint64_constant', guint64_constant)
|
||||
if host_system == 'windows'
|
||||
glibconfig_conf.set('g_pid_type', 'void*')
|
||||
glibconfig_conf.set_quoted('g_pid_format', 'p')
|
||||
if host_machine.cpu_family() == 'x86_64'
|
||||
if host_machine.cpu_family() in ['x86_64', 'aarch64']
|
||||
glibconfig_conf.set_quoted('g_pollfd_format', '%#' + int64_m + 'x')
|
||||
else
|
||||
glibconfig_conf.set_quoted('g_pollfd_format', '%#x')
|
||||
|
Loading…
Reference in New Issue
Block a user