add -lpthread for linux
authorJeremy McNamara <jj@nufone.net>
Tue, 21 Oct 2003 09:18:13 +0000 (09:18 +0000)
committerJeremy McNamara <jj@nufone.net>
Tue, 21 Oct 2003 09:18:13 +0000 (09:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 121c07b..f429c25 100755 (executable)
--- 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)
 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
 endif
 ifeq (${OSARCH},OpenBSD)
 LIBS=-pthread