Skip to content

[Swift Build] Don't set EXECUTABLE_PREFIX when building dylib targets as frameworks#9805

Merged
owenv merged 1 commit intoswiftlang:mainfrom
owenv:owenv/framework-prefix
Mar 12, 2026
Merged

[Swift Build] Don't set EXECUTABLE_PREFIX when building dylib targets as frameworks#9805
owenv merged 1 commit intoswiftlang:mainfrom
owenv:owenv/framework-prefix

Conversation

@owenv
Copy link
Contributor

@owenv owenv commented Mar 12, 2026

Otherwise we can end up with a framework that looks like: X.framework/libX

@owenv
Copy link
Contributor Author

owenv commented Mar 12, 2026

@swift-ci test

@owenv owenv force-pushed the owenv/framework-prefix branch from 162190a to 2f4a029 Compare March 12, 2026 14:58
@bkhouri
Copy link
Contributor

bkhouri commented Mar 12, 2026

@swift-ci test

@bkhouri
Copy link
Contributor

bkhouri commented Mar 12, 2026

@swift-ci test windows

@owenv
Copy link
Contributor Author

owenv commented Mar 12, 2026

@swift-ci smoke test Linux

@owenv
Copy link
Contributor Author

owenv commented Mar 12, 2026

@swift-ci test linux

fileprivate func withGeneratedPIF(
fromFixture fixtureName: String,
addLocalRpaths: Bool = true,
shouldCreateDylibForDynamicProducts: Bool = true,
Copy link
Contributor

@pmattos pmattos Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion. Given the default is false in constructDefaultParametersForTesting shouldn't we stick to false here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, yeah we might want to just generally drop a lot of the default values for this parameter, it makes it easier to make mistakes. I'll probably look at that as a follow-up

@owenv owenv merged commit 3e3c5e4 into swiftlang:main Mar 12, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants