mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
On Darwin platforms, libdispatch and libBlocksRuntime are re-exported from libSystem (via LC_REEXPORT_DYLIB). Other platforms do not have libdispatch and libBlocksRuntime in their C runtime, so we need to explicitly link against them. Now that we are building BlocksRuntime with hidden visibility, we do not accidentally get the symbols from libdispatch.