Add a dependency to the option file.

pull/15/head
Jussi Pakkanen 11 years ago
parent 309a5c1510
commit 07b7d63ccb
  1. 1
      backends.py

@ -974,6 +974,7 @@ class NinjaBackend(Backend):
deps.append(os.path.join(self.build_to_src, deps.append(os.path.join(self.build_to_src,
self.environment.coredata.cross_file)) self.environment.coredata.cross_file))
deps.append('meson-private/coredata.dat') deps.append('meson-private/coredata.dat')
deps.append(os.path.join(self.build_to_src, 'meson_options.txt'))
elem = NinjaBuildElement('build.ninja', 'REGENERATE_BUILD', deps) elem = NinjaBuildElement('build.ninja', 'REGENERATE_BUILD', deps)
elem.write(outfile) elem.write(outfile)

Loading…
Cancel
Save