-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new linkingStrategy
parameter to .target()
dependencies.
#17
Comments
cc. @stackotter for review: |
@stackotter after further review, is My C/C++ senses tell me this is a weird thing to do, but given this is the historical default behavior perhaps it makes sense in this context? Perhaps a tiny grammatical change we can make is to replace // ok, statically linking DynamicLib.
.target(name: "DynamicLib", linkingStrategy: .default) |
Edit: This bug is unrelated, it's a regression in SwiftPM |
I think targets shouldn't be able to override the library type of products they depend on. So if a library specifically has With the context that |
Allow users to specify dynamic library targets in same-package dependencies, which are otherwise always statically linked with the following client-facing API changes to SwiftPM:
The text was updated successfully, but these errors were encountered: