[glib: 1/6] meson: host_system can be ios when cross-compiling



commit c6af3c774973594a34b97e7ac6ed2feb064b8d3e
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Fri May 29 00:31:35 2020 +0530

    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

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 00f767ef9..f9fb01e20 100644
--- a/meson.build
+++ b/meson.build
@@ -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 = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]