1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-14 14:25:13 +02:00

meson: host_system can be ios when cross-compiling

Cross-compile system names aren't standardized in Meson yet[1], but we
already use this name in `tests/meson.build`, so use it here too for
consistency.

1. https://mesonbuild.com/Reference-tables.html#operating-system-names
This commit is contained in:
Nirbheek Chauhan
2020-05-29 00:31:35 +05:30
parent 3d0e1f5c85
commit c6af3c7749

@ -2142,7 +2142,7 @@ if host_system == 'windows'
export_dynamic_ldflags = []
elif host_system == 'cygwin'
export_dynamic_ldflags = ['-Wl,--export-all-symbols']
elif host_system == 'darwin'
elif host_system in ['darwin', 'ios']
export_dynamic_ldflags = []
elif host_system == 'sunos'
export_dynamic_ldflags = []