Skip to content

Commit 981a620

Browse files
authored
[SwiftBuild] Use hostBuildTool product type for build plugin targets (#8936)
Match how macros are handled and use the `hostBuildTool` product type. rdar://155792370
1 parent 74812ff commit 981a620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extension PackagePIFProjectBuilder {
3939
let pluginTargetKeyPath = try self.project.addTarget { _ in
4040
ProjectModel.Target(
4141
id: pluginModule.pifTargetGUID,
42-
productType: .executable,
42+
productType: .hostBuildTool,
4343
name: pluginModule.name,
4444
productName: pluginModule.name
4545
)

0 commit comments

Comments
 (0)