diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-07-07 00:24:19 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-15 13:47:17 +0200 |
commit | b52955ff3d3a73891c9250b0c6e3839593cd456b (patch) | |
tree | 953b6cfa6b0f80432dbc36c7df09d6ffd9fed9a5 /mesonbuild/environment.py | |
parent | 09a5399d095137d3d302dc885abbf88731a1918b (diff) | |
download | meson-b52955ff3d3a73891c9250b0c6e3839593cd456b.zip meson-b52955ff3d3a73891c9250b0c6e3839593cd456b.tar.gz meson-b52955ff3d3a73891c9250b0c6e3839593cd456b.tar.bz2 |
Run postconf scripts after dumping coredata.
MESONINTROSPECT is set when running postconf scripts, which implies that
introspection is possible. But it isn't really possible because coredata
hasn't been written yet. We also still need to make sure to delete
coredata if any postconf scripts fail.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 07489a1..b0002a0 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -349,6 +349,7 @@ class Environment: cdf = os.path.join(self.get_build_dir(), Environment.coredata_file) coredata.save(self.coredata, cdf) os.utime(cdf, times=(mtime, mtime)) + return cdf def get_script_dir(self): import mesonbuild.scripts |