summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2023-07-03 23:06:27 +0900
committerDylan Baker <dylan@pnwbakers.com>2025-11-14 08:16:23 -0800
commit7d118937c4b36650305a0e7da7f5cf642dd30e80 (patch)
treee333db264fcaf565cdfd0bdf6b4c5510369a8ebf /mesonbuild/backend/backends.py
parent4b58e349657ef386e4311dcc7552fc1c0ac2293f (diff)
downloadmeson-7d118937c4b36650305a0e7da7f5cf642dd30e80.tar.gz
Extension of the executable is `exe' on OS/2
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 7fba3f3fb..de41ea171 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -593,7 +593,7 @@ class Backend:
else:
if exe_cmd[0].endswith('.jar'):
exe_cmd = ['java', '-jar'] + exe_cmd
- elif exe_cmd[0].endswith('.exe') and not (mesonlib.is_windows() or mesonlib.is_cygwin() or mesonlib.is_wsl()):
+ elif exe_cmd[0].endswith('.exe') and not (mesonlib.is_windows() or mesonlib.is_cygwin() or mesonlib.is_wsl() or machine.is_os2()):
exe_cmd = ['mono'] + exe_cmd
exe_wrapper = None