diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 02:24:29 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 02:24:29 +0300 |
commit | 6aa1152d72731e59011ec9c46d45ead6f519953e (patch) | |
tree | f81758c5f6ea8e93186ec028a8a06c9156ba720a /backends.py | |
parent | 063bfed54e44e1a353621702b33c9e360b4aac38 (diff) | |
download | meson-6aa1152d72731e59011ec9c46d45ead6f519953e.zip meson-6aa1152d72731e59011ec9c46d45ead6f519953e.tar.gz meson-6aa1152d72731e59011ec9c46d45ead6f519953e.tar.bz2 |
Regenerate if cross build definition file is updated.
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends.py b/backends.py index 5049be4..3595f20 100644 --- a/backends.py +++ b/backends.py @@ -861,6 +861,9 @@ class NinjaBackend(Backend): deps = [os.path.join(self.build_to_src, df) \ for df in self.interpreter.get_build_def_files()] + if self.environment.is_cross_build(): + deps.append(os.path.join(self.build_to_src, + self.environment.coredata.cross_file)) elem = NinjaBuildElement('build.ninja', 'REGENERATE_BUILD', deps) elem.write(outfile) |