From 72cd2a395a240f050b6225b9aed876ee214ecd8c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 19 Jan 2023 10:38:38 -0500 Subject: coredata: Do not pickle it twice Exclude coredata from build.dat because it gets pickled separately already. --- mesonbuild/mconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/mconf.py') diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 35e862f..7182941 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -72,7 +72,7 @@ class Conf: if os.path.isdir(os.path.join(self.build_dir, 'meson-private')): self.build = build.load(self.build_dir) self.source_dir = self.build.environment.get_source_dir() - self.coredata = coredata.load(self.build_dir) + self.coredata = self.build.environment.coredata self.default_values_only = False elif os.path.isfile(os.path.join(self.build_dir, environment.build_filename)): # Make sure that log entries in other parts of meson don't interfere with the JSON output -- cgit v1.1