Commit 59349f9
committed
build: always build libdispatch in shared mode
As per the discussion with @rokhinip, @mikeash, and @compnerd, always
build libdispatch and libclosure in shared mode. The rationale for this
is the following:
If someone does a `-static-stdlib` build of Swift code as a plugin
which is hosted in a C/C++ environment, you cannot have two dispatch
implementations to run this. You need a single one, and because the
host environment may be dynamically linked - you need to dynamically
link libdispatch (the C portions).
This prepares us to be able to build the rest of the dispatch code
(swiftDispatch) both statically and dynamically.1 parent 6864757 commit 59349f9
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments