diff --git a/Makefile b/Makefile
index 121c07b520c13c0bdb5ec03a28b141f763a0b37d..f429c25c93e59c8b92b91b60104e5efee5f49406 100755
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ CFLAGS+= $(OPTIONS)
 CFLAGS+=# -fomit-frame-pointer 
 SUBDIRS=res channels pbx apps codecs formats agi cdr astman
 ifeq (${OSARCH},Linux)
-LIBS=-ldl
+LIBS=-ldl -lpthread
 endif
 ifeq (${OSARCH},OpenBSD)
 LIBS=-pthread