File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Sources/SwiftBuildSupport Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ public final class PackagePIFBuilder {
358
358
// Products.
359
359
case application
360
360
case staticArchive
361
- case objectFile
361
+ case commonObject
362
362
case dynamicLibrary
363
363
case framework
364
364
case executable
@@ -382,7 +382,7 @@ public final class PackagePIFBuilder {
382
382
self = switch pifProductType {
383
383
case . application: . application
384
384
case . staticArchive: . staticArchive
385
- case . objectFile : . objectFile
385
+ case . commonObject : . commonObject
386
386
case . dynamicLibrary: . dynamicLibrary
387
387
case . framework: . framework
388
388
case . executable: . executable
Original file line number Diff line number Diff line change @@ -250,11 +250,7 @@ extension PackagePIFProjectBuilder {
250
250
}
251
251
252
252
case . staticLibrary, . executable:
253
- #if os(Windows) // Temporary until we get a new productType in swift-build
254
- productType = . staticArchive
255
- #else
256
- productType = . objectFile
257
- #endif
253
+ productType = . commonObject
258
254
259
255
case . macro:
260
256
productType = . hostBuildTool
You can’t perform that action at this time.
0 commit comments