aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2011-04-23 01:16:19 +0200
committerRicardo M. Correia <rcorreia@wizy.org>2011-04-23 01:39:20 +0200
commit1a5364bd19e92b252c75ccc54b0bcc80f4a0c1f7 (patch)
tree54f1e26f95685c9bf5b900f5d3f0ab9eb8f4a588
parent64ad448adc67f3c32fe0dfe074c82a8377f67ee7 (diff)
downloadbitcoin-1a5364bd19e92b252c75ccc54b0bcc80f4a0c1f7.tar.xz
Link with libpthread on Linux, required by libboost_thread.
Fixes link failure when using the 'gold' linker.
-rw-r--r--makefile.unix3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile.unix b/makefile.unix
index 61b925e3bc..f1ffc2f7ed 100644
--- a/makefile.unix
+++ b/makefile.unix
@@ -32,7 +32,8 @@ LIBS+= \
-Wl,-Bdynamic \
-l gthread-2.0 \
-l z \
- -l dl
+ -l dl \
+ -l pthread
DEBUGFLAGS=-g -D__WXDEBUG__