From a5ceef033bc37cae07ff2ca9a58768c0fa62d69c Mon Sep 17 00:00:00 2001 From: sparklewind Date: Sat, 22 Dec 2012 21:29:39 +0100 Subject: [PATCH] Update Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f2c5d4cf0..91131aa5a6 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,9 @@ endif OBJ += autosave.o thread.o ifeq ($(HAVE_THREADS), 1) - LIBS += +ifneq ($(findstring Haiku,$(OS)),) + LIBS += -lpthread +endif endif ifeq ($(HAVE_CONFIGFILE), 1)