shared_library: Add vs_module_defs to link_depends

With this, if the module definitions file is edited, the shared library
and all reverse-dependencies will be re-linked.

Fixes #643
pull/691/head
Nirbheek Chauhan 9 years ago
parent 58359c8fac
commit 88037c4385
  1. 2
      mesonbuild/build.py

@ -876,6 +876,8 @@ class SharedLibrary(BuildTarget):
self.vs_module_defs = File.from_absolute_file(path)
else:
self.vs_module_defs = File.from_source_file(environment.source_dir, self.subdir, path)
# link_depends can be an absolute path or relative to self.subdir
self.link_depends.append(path)
def check_unknown_kwargs(self, kwargs):
self.check_unknown_kwargs_int(kwargs, known_shlib_kwargs)

Loading…
Cancel
Save