Skip to content

Commit 36321dd

Browse files
committed
Only install SwiftSyntax when we can build it
1 parent 78ef82f commit 36321dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/products/earlyswiftsyntax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def should_install(self, host_target):
8383
Whether or not this product should be installed with the given
8484
arguments.
8585
"""
86-
return self.args.install_swiftsyntax
86+
return self.should_build(host_target) and self.args.install_swiftsyntax
8787

8888
def install(self, host_target):
8989
"""

0 commit comments

Comments
 (0)