vs2010: fix transitive dependencies

pull/486/head
Nicolas Schneider 9 years ago
parent f3386d10c3
commit 33e842e50a
  1. 2
      mesonbuild/backend/vs2010backend.py

@ -548,7 +548,7 @@ class Vs2010Backend(backends.Backend):
ET.SubElement(link, "AdditionalOptions").text = ' '.join(extra_link_args) ET.SubElement(link, "AdditionalOptions").text = ' '.join(extra_link_args)
additional_links = [] additional_links = []
for t in target.link_targets: for t in target.get_dependencies():
lobj = self.build.targets[t.get_id()] lobj = self.build.targets[t.get_id()]
rel_path = self.relpath(lobj.subdir, target.subdir) rel_path = self.relpath(lobj.subdir, target.subdir)
linkname = os.path.join(rel_path, lobj.get_import_filename()) linkname = os.path.join(rel_path, lobj.get_import_filename())

Loading…
Cancel
Save