mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Link libpthread and libdl when importing Glibc module.
libSystem on OS X (and therefore the Darwin module) includes all the functions that are present in libpthread/libld on Linux. So go ahead and pull those in for parity. <rdar://problem/23207607>
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
/// It's not named just Glibc so that it doesn't conflict in the event of a
|
||||
/// future official glibc modulemap.
|
||||
module SwiftGlibc [system] {
|
||||
link "pthread"
|
||||
link "dl"
|
||||
|
||||
// C standard library
|
||||
module C {
|
||||
module complex {
|
||||
|
||||
Reference in New Issue
Block a user