Add unresolved symbol arg to link line in VS backends. For some

reason VS does not pick it up even though it is visible in the linker
option box.
pull/1126/head
Jussi Pakkanen 8 years ago
parent b54fc1d00e
commit 59fdb1b9ff
  1. 2
      mesonbuild/backend/vs2010backend.py

@ -783,6 +783,8 @@ class Vs2010Backend(backends.Backend):
extra_link_args += l
if not isinstance(target, build.StaticLibrary):
extra_link_args += target.link_args
if isinstance(target, build.SharedModule):
extra_link_args += compiler.get_std_shared_module_link_args()
# External deps must be last because target link libraries may depend on them.
for dep in target.get_external_deps():
extra_link_args += dep.get_link_args()

Loading…
Cancel
Save