Commit 4a95611
committed
dispatch: install the correct modulemap when building static
There is a subtle difference between libdispatch built dynamically and
statically: DispatchStubs. We erroneously emit ObjC runtime calls into
the build and the stubs provides a shim to provide a definition on
non-ObjC runtime enabled targets. When built dynamically, this is
internalised and distributed as part of dispatch.dll/libdispatch.so,
however when built statically, the consumer is responsible for linking
against DispatchStubs. The modulemap reflects this and we need to
ensure that we correctly provide that modulemap.
Thanks to @MaxDesiatov for the help with debugging and testing a fix for
this!1 parent 2725ced commit 4a95611
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments