aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2019-08-23 16:27:53 +0100
committerDylan Baker <dylan@pnwbakers.com>2019-08-23 13:10:25 -0700
commit246b49fe75e8f882f26a0551f89c42ca20ee50c2 (patch)
tree4062caed499e231c1cf7a089030c8791b60b545a /mesonbuild/mesonlib.py
parent315ab997b49bba92c958a88f5eebe7aa232739f8 (diff)
downloadmeson-246b49fe75e8f882f26a0551f89c42ca20ee50c2.zip
meson-246b49fe75e8f882f26a0551f89c42ca20ee50c2.tar.gz
meson-246b49fe75e8f882f26a0551f89c42ca20ee50c2.tar.bz2
Support NetBSD aarch64 and earm.
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r--mesonbuild/mesonlib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index d90c188..bf87f0f 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -459,6 +459,9 @@ def is_debianlike() -> bool:
def is_dragonflybsd() -> bool:
return platform.system().lower() == 'dragonfly'
+def is_netbsd() -> bool:
+ return platform.system().lower() == 'netbsd'
+
def is_freebsd() -> bool:
return platform.system().lower() == 'freebsd'