configure: Let user know when exit on meson error

This commit is contained in:
Thibault Saunier 2016-09-14 10:42:52 -03:00
parent be5e8af9e2
commit f802127a1e

3
configure vendored
View file

@ -74,7 +74,8 @@ def configure_meson(args):
try:
subprocess.check_call([meson, "../"] + args + get_configs(meson))
except subprocess.CalledProcessError:
except subprocess.CalledProcessError as e:
print("EXIT meson return %s" % e.returncode)
exit(1)
with open(os.path.join(ROOTDIR, "Makefile"), "w") as makefile: