diff options
-rw-r--r-- | mesonbuild/scripts/meson_exe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/meson_exe.py b/mesonbuild/scripts/meson_exe.py index 991fa3f..3fe327f 100644 --- a/mesonbuild/scripts/meson_exe.py +++ b/mesonbuild/scripts/meson_exe.py @@ -79,8 +79,8 @@ def run_exe(exe): stderr=subprocess.PIPE) stdout, stderr = p.communicate() - if p.returncode == 3221225781: - # magic errorcode on Windows indicating a common problem that is otherwise hard to diagnose + if p.returncode == 0xc0000135: + # STATUS_DLL_NOT_FOUND on Windows indicating a common problem that is otherwise hard to diagnose raise FileNotFoundError('Missing DLLs on calling {!r}'.format(exe.name)) if exe.capture and p.returncode == 0: |