From e085aa089f50a2429ce90a6d24e23bc86faeeeec Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 23 Aug 2019 20:06:23 +0100 Subject: NetBSD detection in envconfig.MachineInfo --- mesonbuild/envconfig.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py index 15d937b..5889eb1 100644 --- a/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py @@ -233,6 +233,12 @@ class MachineInfo: """ return self.system == 'haiku' + def is_netbsd(self) -> bool: + """ + Machine is NetBSD? + """ + return self.system == 'netbsd' + def is_openbsd(self) -> bool: """ Machine is OpenBSD? -- cgit v1.1