vs2010: fix linker args

pull/442/head
Nicolas Schneider 9 years ago
parent 79537b54db
commit 17f1323aca
  1. 6
      mesonbuild/backend/vs2010backend.py

@ -443,9 +443,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