remove dead code that is immediately overridden

In commit d932cd9fb4, 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.
pull/9415/head
Eli Schwartz 3 years ago
parent 1979132a9d
commit 7b53c26501
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 4
      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)

Loading…
Cancel
Save