[Swift] let the Swift Package Manager choose between static or dynamic linking #3743
[Swift] let the Swift Package Manager choose between static or dynamic linking #3743
Conversation
|
hi. How certain are you of this change? Well this affect people that are expecting dynamic? |
…ager choose between static or dynamic linking (recommended).
|
@parrt Good Point👍 A better approach is to leave this parameter unspecified (done)。 According to Apple Docs: |
|
Hi. Not sure it should be removed. Have you tried runtime tests with removed option? They don't work for me if the option is removed because |
By default the current changes are enough and are recommended. #3669 supersedes this one. Beside the recommended way it also specifies 2 more products. So as a result |
|
Closed in favor of #3669. thanks! |
When building an executable target using Swift Package Manager, We should depend on a static Antlr runtime framework to make a portable executable binary.
Or we will have to deal with the linker problem like: