aboutsummaryrefslogtreecommitdiffstats
path: root/main/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index 25e967d98..b3a53a39f 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -42,8 +42,13 @@ OBJS+=say.o
AST_LIBS += $(SSL_LIB)
AST_LIBS += $(BKTR_LIB)
+
ifeq ($(POLL_AVAILABLE),)
OBJS+=poll.o
+else
+ ifneq ($(findstring darwin,$(OSARCH)),)
+ OBJS+=poll.o
+ endif
endif
ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-gnueabi ),)