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)