aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-08-25 23:58:17 +0300
committerGitHub <noreply@github.com>2020-08-25 23:58:17 +0300
commit3a25efc056c00da3fe10240757e3ae538fd57435 (patch)
tree1c6256b0445f8ef49a230fc02a3c1eb396e60c68 /mesonbuild/mesonlib.py
parent1de1cc22e2fcc56860ee8174e375070c062f5b30 (diff)
parent1b2708eb79a5475dae23b6911021a490b52ea9fc (diff)
downloadmeson-3a25efc056c00da3fe10240757e3ae538fd57435.zip
meson-3a25efc056c00da3fe10240757e3ae538fd57435.tar.gz
meson-3a25efc056c00da3fe10240757e3ae538fd57435.tar.bz2
Merge pull request #7581 from peterh/aix
Add AIX support
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 760b235..45e3b34 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -533,6 +533,9 @@ def is_hurd() -> bool:
def is_qnx() -> bool:
return platform.system().lower() == 'qnx'
+def is_aix() -> bool:
+ return platform.system().lower() == 'aix'
+
def exe_exists(arglist: T.List[str]) -> bool:
try:
if subprocess.run(arglist, timeout=10).returncode == 0: