Skip to content

Commit ef32ead

Browse files
committed
build: correct executable name for swift compiler
The swift compiler is `swiftc` not `swift`. Correct the spelling.
1 parent 0f0a908 commit ef32ead

File tree

1 file changed

+1
-1
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/products/pythonkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def should_build(self, host_target):
3232
def build(self, host_target):
3333
toolchain_path = targets.toolchain_path(self.args.install_destdir,
3434
self.args.install_prefix)
35-
swiftc = os.path.join(toolchain_path, 'usr', 'bin', 'swift')
35+
swiftc = os.path.join(toolchain_path, 'usr', 'bin', 'swiftc')
3636

3737
shell.call([
3838
self.toolchain.cmake,

0 commit comments

Comments
 (0)