HomePhabricator

[cmake] Link with pthreads

Description

[cmake] Link with pthreads

Summary: Since the removal of Boost::thread, there is no more explicit pthread linkage when jemalloc is not used, which is causing weird bugs on some Linux flavors (seen on Ubuntu 20.04, but there might be others).

Test Plan:
With Ubuntu 20.04:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D14095

Details

Provenance
FabienAuthored on Jun 21 2023, 15:18
FabienPushed on Jun 21 2023, 16:52
Reviewer
Restricted Project
Differential Revision
D14095: [cmake] Link with pthreads
Parents
rABC8e3a86171fd6: refactor: introduce single-separator split helper `SplitString`
Branches
Unknown
Tags
Unknown