Use proper array form in swiftc.

pull/13597/head
Jussi Pakkanen 3 months ago committed by Dylan Baker
parent 49cc4862e7
commit 0bd45b3676
  1. 2
      mesonbuild/compilers/detect.py

@ -1248,7 +1248,7 @@ def detect_swift_compiler(env: 'Environment', for_machine: MachineChoice) -> Com
cls = SwiftCompiler
linker = guess_nix_linker(env,
exelist, cls, version, for_machine,
extra_args=[f.name, '-o /dev/null'])
extra_args=[f.name, '-o', '/dev/null'])
return cls(
exelist, version, for_machine, is_cross, info, linker=linker)

Loading…
Cancel
Save