diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-19 19:17:01 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-26 20:53:42 -0400 |
commit | 7b53c26501eb65a148cff91265fd3e4cfc581b2a (patch) | |
tree | 922a355f7181ffae9964a075d6f5988286547739 /unittests | |
parent | 1979132a9d109daba67e1b2665342fc6506eb323 (diff) | |
download | meson-7b53c26501eb65a148cff91265fd3e4cfc581b2a.zip meson-7b53c26501eb65a148cff91265fd3e4cfc581b2a.tar.gz meson-7b53c26501eb65a148cff91265fd3e4cfc581b2a.tar.bz2 |
remove dead code that is immediately overridden
In commit d932cd9fb48e8fecb167641c3d6bee8a68831c6e, we migrated to
meson's own static linker definition, and the old code that hardcoded
two of the possible exelists should have been removed in the process.
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/allplatformstests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index 878b8c8..5a2a4c3 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -1441,10 +1441,6 @@ class AllPlatformTests(BasePlatformTests): def build_static_lib(self, compiler, linker, source, objectfile, outfile, extra_args=None): if extra_args is None: extra_args = [] - if compiler.get_argument_syntax() == 'msvc': - link_cmd = ['lib', '/NOLOGO', '/OUT:' + outfile, objectfile] - else: - link_cmd = ['ar', 'csr', outfile, objectfile] link_cmd = linker.get_exelist() link_cmd += linker.get_always_args() link_cmd += linker.get_std_link_args(False) |