From: Russell Bryant Date: Mon, 21 Nov 2005 16:53:51 +0000 (+0000) Subject: re-add explicit poll support for Darwin X-Git-Tag: 1.0.11.1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45c9175c77e8e04da3a38ee167cac11a114920ae;p=thirdparty%2Fasterisk.git re-add explicit poll support for Darwin git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@7177 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 12c8fc7916..0807358056 100755 --- a/Makefile +++ b/Makefile @@ -216,6 +216,8 @@ OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \ ifeq (${OSARCH},Darwin) ASTLINK=-Wl,-dynamic SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace +OBJS+= poll.o +CFLAGS+=-DPOLLCOMPAT else ASTLINK=-Wl,-E SOLINK=-shared -Xlinker -x