aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-03 00:38:37 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-03 00:54:21 +0200
commit2dd7f3cb4762df06b43017b25c6c3b5eafec44c4 (patch)
tree74833a0cf4013f80f43d97df954522d95f7245b4 /mesonbuild/compilers.py
parent023dc6953c6dda3825c7c04b465cee507f1ddcd9 (diff)
downloadmeson-2dd7f3cb4762df06b43017b25c6c3b5eafec44c4.zip
meson-2dd7f3cb4762df06b43017b25c6c3b5eafec44c4.tar.gz
meson-2dd7f3cb4762df06b43017b25c6c3b5eafec44c4.tar.bz2
Tell msvc not to error out on missing symbols.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 06f4f93..3dc4340 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1926,6 +1926,9 @@ class VisualStudioCCompiler(CCompiler):
pdbarr += ['pdb']
return ['/DEBUG', '/PDB:' + '.'.join(pdbarr)]
+ def get_std_shared_module_link_args(self):
+ return ['/DLL', '/FORCE:UNRESOLVED']
+
class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler):
def __init__(self, exelist, version, is_cross, exe_wrap):
self.language = 'cpp'