diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-12-16 13:42:47 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-18 21:57:03 +0200 |
commit | 9e219427803c68a24fcc6afa1fb3bbe8a5e4800d (patch) | |
tree | 33c04bc6a275e87e4d11e16d173292dcb4faf42a | |
parent | 04e08f5a1ff89bf6ca099df2ae9b73233e9503ad (diff) | |
download | meson-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
-rw-r--r-- | mesonbuild/linkers.py | 3 |
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], |