Fixes link failure when using the 'gold' linker. Also tested with regular 'ld' and it seems to work fine.
Link with libpthread on Linux, required by libboost_thread. #178
pull wizeman wants to merge 1 commits into bitcoin:master from wizeman:link-pthread changing 1 files +2 −1-
wizeman commented at 11:47 PM on April 22, 2011: contributor
-
1a5364bd19
Link with libpthread on Linux, required by libboost_thread.
Fixes link failure when using the 'gold' linker.
-
sipa commented at 2:29 PM on May 1, 2011: member
The problem is mentioned here http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking, and I confirm that adding -lpthread makes it work with both ld and gold.
- sipa referenced this in commit fbfbf94deb on May 1, 2011
- sipa merged this on May 1, 2011
- sipa closed this on May 1, 2011
- sipa referenced this in commit 7873633b57 on Jan 5, 2015
- dexX7 referenced this in commit 0d9ae2908b on Aug 17, 2015
- TheBlueMatt referenced this in commit 582b2934e6 on Oct 20, 2015
- deadalnix referenced this in commit 50cc6ab062 on Jan 19, 2017
- classesjack referenced this in commit 93d7776037 on Jan 2, 2018
- attilaaf referenced this in commit d36c65f132 on Jan 13, 2020
- cryptapus referenced this in commit 7ecf61f693 on Feb 19, 2020
- KolbyML referenced this in commit 61c6eda389 on Aug 1, 2020
- cryptapus referenced this in commit 294cee1238 on May 3, 2021
- rajarshimaitra referenced this in commit b4204ba4cf on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021