mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
add -lpthread for linux
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
Makefile
2
Makefile
@@ -132,7 +132,7 @@ CFLAGS+= $(OPTIONS)
|
|||||||
CFLAGS+=# -fomit-frame-pointer
|
CFLAGS+=# -fomit-frame-pointer
|
||||||
SUBDIRS=res channels pbx apps codecs formats agi cdr astman
|
SUBDIRS=res channels pbx apps codecs formats agi cdr astman
|
||||||
ifeq (${OSARCH},Linux)
|
ifeq (${OSARCH},Linux)
|
||||||
LIBS=-ldl
|
LIBS=-ldl -lpthread
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},OpenBSD)
|
ifeq (${OSARCH},OpenBSD)
|
||||||
LIBS=-pthread
|
LIBS=-pthread
|
||||||
|
Reference in New Issue
Block a user