diff options
author | Elad Lahav <elahav@qnx.com> | 2020-08-08 07:04:09 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-08-08 15:43:57 -0700 |
commit | 1ddd2b4cbe8f7fc055578beb874589cd3abda4e5 (patch) | |
tree | 455979aeb63ee8a5b22c38880f15ccf43dc0d170 /mesonbuild/mesonlib.py | |
parent | 91c5b379706633f4e5a480dbcea4844a9f54be79 (diff) | |
download | meson-1ddd2b4cbe8f7fc055578beb874589cd3abda4e5.zip meson-1ddd2b4cbe8f7fc055578beb874589cd3abda4e5.tar.gz meson-1ddd2b4cbe8f7fc055578beb874589cd3abda4e5.tar.bz2 |
Use uname -p to detect x86_64 on QNX.
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r-- | mesonbuild/mesonlib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 2c563e4..4b8cce8 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -527,6 +527,8 @@ def is_irix() -> bool: def is_hurd() -> bool: return platform.system().lower() == 'gnu' +def is_qnx() -> bool: + return platform.system().lower() == 'qnx' def exe_exists(arglist: T.List[str]) -> bool: try: |