Skip to content
Snippets Groups Projects
Commit 08f561f1 authored by Russell Bryant's avatar Russell Bryant
Browse files

Fix build issues on Mac OSX.

(closes issue #14714)
Reported by: ygor


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a7028f2b
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#include <string.h> #include <string.h>
#endif #endif
#ifdef HAVE_SYS_POLL_H #ifndef AST_POLL_COMPAT
#include <sys/poll.h> #include <sys/poll.h>
#else #else
#include "asterisk/poll-compat.h" #include "asterisk/poll-compat.h"
......
...@@ -163,6 +163,11 @@ utils.c: $(ASTTOPDIR)/main/utils.c ...@@ -163,6 +163,11 @@ utils.c: $(ASTTOPDIR)/main/utils.c
$(CMD_PREFIX) cp "$<" "$@" $(CMD_PREFIX) cp "$<" "$@"
utils.o: ASTCFLAGS+=-DSTANDALONE utils.o: ASTCFLAGS+=-DSTANDALONE
poll.c: $(ASTTOPDIR)/main/poll.c
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
$(CMD_PREFIX) cp "$<" "$@"
poll.o: ASTCFLAGS+=-DSTANDALONE
strings.c: $(ASTTOPDIR)/main/strings.c strings.c: $(ASTTOPDIR)/main/strings.c
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@" $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
$(CMD_PREFIX) cp "$<" "$@" $(CMD_PREFIX) cp "$<" "$@"
...@@ -179,12 +184,12 @@ threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c ...@@ -179,12 +184,12 @@ threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
threadstorage.o: ASTCFLAGS+=-DSTANDALONE threadstorage.o: ASTCFLAGS+=-DSTANDALONE
hashtest2.o: ASTCFLAGS+=-O0 -DSTANDALONE hashtest2.o: ASTCFLAGS+=-O0 -DSTANDALONE
hashtest2: hashtest2.o md5.o utils.o strings.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o hashtest2: hashtest2.o md5.o utils.o strings.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
hashtest: hashtest.o md5.o hashtab.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o hashtest: hashtest.o md5.o hashtab.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
hashtest.o: ASTCFLAGS+=-O0 -DSTANDALONE hashtest.o: ASTCFLAGS+=-O0 -DSTANDALONE
refcounter: refcounter.o md5.o hashtab.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o refcounter: refcounter.o md5.o hashtab.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
refcounter.o: ASTCFLAGS+=-O0 -DSTANDALONE refcounter.o: ASTCFLAGS+=-O0 -DSTANDALONE
extconf.o: extconf.c extconf.o: extconf.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment