swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 460 forks source link

build: android bundles pthread into libc #828

Closed compnerd closed 5 months ago

compnerd commented 5 months ago

Add an additional flag to indicate that -lc is sufficient for pthread support and that -lpthread is not needed. This allows us to build with newer NDKs.

compnerd commented 5 months ago

CC: @drodriguez @finagolfin @hyp

compnerd commented 5 months ago

@swift-ci please test

hyp commented 5 months ago

LGTM!