Merge pull request #442 from nioncode/vs-linker-args

vs2010: fix linker args
pull/428/head
Jussi Pakkanen 9 years ago
commit 0d5eaa2721
  1. 6
      mesonbuild/backend/vs2010backend.py

@ -482,9 +482,9 @@ class Vs2010Backend(backends.Backend):
for l in target.link_args: for l in target.link_args:
for a in l: for a in l:
extra_link_args.append(a) extra_link_args.append(a)
if len(extra_args) > 0: if len(extra_link_args) > 0:
extra_args.append('%(AdditionalOptions)') extra_link_args.append('%(AdditionalOptions)')
ET.SubElement(link, "AdditionalOptions").text = ' '.join(extra_args) ET.SubElement(link, "AdditionalOptions").text = ' '.join(extra_link_args)
additional_links = [] additional_links = []
for t in target.link_targets: for t in target.link_targets:

Loading…
Cancel
Save