summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Roberson <josh@asteriasgi.com>2005-11-21 15:09:31 +0000
committerJosh Roberson <josh@asteriasgi.com>2005-11-21 15:09:31 +0000
commitd34be7edf7ac6484e1567ce162a99f4d3c4c09d5 (patch)
treed117ae04fe382245e79fb3e39e6c94e1fad1a559 /Makefile
parentaeac8bf137740e480ef0ba11050600a95a38e18a (diff)
Re-add explicit poll support for Darwin, as without it, rasterisk (or asterisk -r) is broken under Darwin.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 82d20748f..69e57fea4 100755
--- a/Makefile
+++ b/Makefile
@@ -363,6 +363,8 @@ ifeq ($(OSARCH),Darwin)
AUDIO_LIBS=-framework CoreAudio
ASTLINK=-Wl,-dynamic
SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+ OBJS+=poll.o
+ ASTCFLAGS+=-DPOLLCOMPAT
else
#These are used for all but Darwin
ASTLINK=-Wl,-E