diff options
author | Norbert Nemec <Norbert@Nemec-online.de> | 2019-07-09 21:06:57 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-10 01:03:01 +0300 |
commit | 4b25253bfd85bf1320486d1843a640975e388613 (patch) | |
tree | 6272b50df6af5f2d4f80e7fa1b3c973f02ee4491 /mesonbuild | |
parent | 62c975659fe4a6ce5d56c665607d4f52ca31deda (diff) | |
download | meson-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.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: |