backends/ninja: Add native files to rebuild dependencies

Just like cross files.
pull/5220/head
Dylan Baker 6 years ago committed by Nirbheek Chauhan
parent ff299eb36b
commit 94ba53c6b6
  1. 1
      mesonbuild/backend/backends.py

@ -791,6 +791,7 @@ class Backend:
for df in self.interpreter.get_build_def_files()] for df in self.interpreter.get_build_def_files()]
if self.environment.is_cross_build(): if self.environment.is_cross_build():
deps.extend(self.environment.coredata.cross_files) deps.extend(self.environment.coredata.cross_files)
deps.extend(self.environment.coredata.config_files)
deps.append('meson-private/coredata.dat') deps.append('meson-private/coredata.dat')
if os.path.exists(os.path.join(self.environment.get_source_dir(), 'meson_options.txt')): if os.path.exists(os.path.join(self.environment.get_source_dir(), 'meson_options.txt')):
deps.append(os.path.join(self.build_to_src, 'meson_options.txt')) deps.append(os.path.join(self.build_to_src, 'meson_options.txt'))

Loading…
Cancel
Save