Skip to content

Commit

Permalink
Use proper array form in swiftc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane authored and dcbaker committed Aug 23, 2024
1 parent 49cc486 commit 0bd45b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0bd45b3

Please sign in to comment.