Skip to content

Commit f808b9f

Browse files
authored
Use GENERATE_PRELINK_OBJECT_FILE in PackagePIFProjectBuilder (#8570)
Fixing build failure in https://ci.swift.org/job/oss-swift-pr-test-macoss/4978/console introduced by swiftlang/swift-build#452.
1 parent 68d55b1 commit f808b9f

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
@@ -423,7 +423,7 @@ extension PackagePIFProjectBuilder {
423423
.spm_mangledToBundleIdentifier()
424424
settings[.EXECUTABLE_NAME] = executableName
425425
settings[.CLANG_ENABLE_MODULES] = "YES"
426-
settings[.GENERATE_MASTER_OBJECT_FILE] = "NO"
426+
settings[.GENERATE_PRELINK_OBJECT_FILE] = "NO"
427427
settings[.STRIP_INSTALLED_PRODUCT] = "NO"
428428

429429
// Macros build as executables, so they need slightly different

0 commit comments

Comments
 (0)