From 0b8db94065616e241077a0b7c5cee274f733f6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 13 Sep 2017 10:54:04 +0200 Subject: Add is_haiku(), needed for run_tests.py. --- mesonbuild/mesonlib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 4862e23..d03e5a2 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -215,6 +215,9 @@ def is_osx(): def is_linux(): return platform.system().lower() == 'linux' +def is_haiku(): + return platform.system().lower() == 'haiku' + def is_windows(): platname = platform.system().lower() return platname == 'windows' or 'mingw' in platname -- cgit v1.1