aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-12-16 13:42:47 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-18 21:57:03 +0200
commit9e219427803c68a24fcc6afa1fb3bbe8a5e4800d (patch)
tree33c04bc6a275e87e4d11e16d173292dcb4faf42a /mesonbuild/linkers.py
parent04e08f5a1ff89bf6ca099df2ae9b73233e9503ad (diff)
downloadmeson-9e219427803c68a24fcc6afa1fb3bbe8a5e4800d.zip
meson-9e219427803c68a24fcc6afa1fb3bbe8a5e4800d.tar.gz
meson-9e219427803c68a24fcc6afa1fb3bbe8a5e4800d.tar.bz2
linkers: Remove get_allow_undefined_args from link.exe
PE DLLs don't work like elf or mach-o, there's no way to define symbols at run time, they must all be defined as import or export at link time. As such there's no value in being able to have undefined symbols in MSVC, nor does meson expose an option to change them Fixes: #6342
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r--mesonbuild/linkers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py
index 4dae5eb..051b21c 100644
--- a/mesonbuild/linkers.py
+++ b/mesonbuild/linkers.py
@@ -820,8 +820,7 @@ class VisualStudioLikeLinkerMixin:
return l
def get_allow_undefined_args(self) -> typing.List[str]:
- # link.exe
- return self._apply_prefix('/FORCE:UNRESOLVED')
+ return []
def get_soname_args(self, env: 'Environment', prefix: str, shlib_name: str,
suffix: str, soversion: str, darwin_versions: typing.Tuple[str, str],