diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-04-15 10:18:42 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-04-16 12:17:25 +0300 |
| commit | 48fc3ec8fa25c0cb001603f025ab516e8f0df1e2 (patch) | |
| tree | 9e66d96908bae17cee7dadcd89bd8c2968838c50 /mesonbuild/environment.py | |
| parent | 59d3c427f53e87df2d10e8e314f1789fc9d6ddfb (diff) | |
| download | meson-48fc3ec8fa25c0cb001603f025ab516e8f0df1e2.tar.gz | |
environment: handle all iOS variants as xnu
All of iOS, tvOS, visionOS, watchOS use the XNU kernel. Report that and also
make them return true for is_darwin() which is really more like "is_xnu()".
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/environment.py')
| -rw-r--r-- | mesonbuild/environment.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index a0d98ae58..f322cda95 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -487,6 +487,10 @@ KERNEL_MAPPINGS: T.Mapping[str, str] = {'freebsd': 'freebsd', 'linux': 'linux', 'cygwin': 'nt', 'darwin': 'xnu', + 'ios': 'xnu', + 'tvos': 'xnu', + 'visionos': 'xnu', + 'watchos': 'xnu', 'dragonfly': 'dragonfly', 'haiku': 'haiku', 'gnu': 'gnu', |
