aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorNorbert Nemec <Norbert@Nemec-online.de>2019-07-09 21:06:57 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-10 01:03:01 +0300
commit4b25253bfd85bf1320486d1843a640975e388613 (patch)
tree6272b50df6af5f2d4f80e7fa1b3c973f02ee4491 /mesonbuild
parent62c975659fe4a6ce5d56c665607d4f52ca31deda (diff)
downloadmeson-4b25253bfd85bf1320486d1843a640975e388613.zip
meson-4b25253bfd85bf1320486d1843a640975e388613.tar.gz
meson-4b25253bfd85bf1320486d1843a640975e388613.tar.bz2
Reference error code as hex value and improve comment
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/scripts/meson_exe.py4
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: