swift
1977a685 - Fix statically linked concurrency on Linux

Commit
3 years ago
Fix statically linked concurrency on Linux Generating a statically-linked executable either with `-static-executable` or `-static-stdlib` that contains concurrency needs to link the concurrency libraries or the missing symbols will cause link failures. This patch adds dispatch and blocks runtime to the list of statically linked libraries. In the case of the static stdlib, it only adds them if the concurrency mechanisms use dispatch, otherwise it doesn't. For the static executable, it always adds them since that doesn't appear to be very configurable.
Author
Committer
Parents
Loading