From 1a5364bd19e92b252c75ccc54b0bcc80f4a0c1f7 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Sat, 23 Apr 2011 01:16:19 +0200 Subject: [PATCH] Link with libpthread on Linux, required by libboost_thread. Fixes link failure when using the 'gold' linker. --- makefile.unix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile.unix b/makefile.unix index 61b925e3bc6..f1ffc2f7ed5 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__