Consider `link_whole` as well as `link_with` for Vala deps

Otherwise, when you have a static helper library written in Vala
that you want to `link_whole` into a shared library you have to
manually add the .vapi file as a source.
pull/2110/head
Sam Thursfield 8 years ago committed by Jussi Pakkanen
parent 288c44c052
commit 094c8dc250
  1. 2
      mesonbuild/backend/ninjabackend.py

@ -995,7 +995,7 @@ int dummy;
the build directory.
"""
result = OrderedSet()
for dep in target.link_targets:
for dep in target.link_targets + target.link_whole_targets:
for i in dep.sources:
if hasattr(i, 'fname'):
i = i.fname

Loading…
Cancel
Save