[Asterisk-Dev] fixed makefile patch

Jared Mauch jared at puck.Nether.net
Thu Oct 16 10:16:42 MST 2003


	also need -lpthread on linux

RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile    16 Oct 2003 10:44:04 -0000      1.35
+++ Makefile    16 Oct 2003 17:43:22 -0000
@@ -132,7 +132,7 @@
 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
@@ -144,7 +144,7 @@
 endif
 LIBS+=-lncurses -lm
 ifeq (${OSARCH},Linux)
--lresolv  #-lnjamd
+LIBS+=-lresolv  #-lnjamd
 endif
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
        translate.o file.o say.o pbx.o cli.o md5.o term.o \

-- 
Jared Mauch  | pgp key available via finger from jared at puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.



More information about the asterisk-dev mailing list