aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-21 13:21:18 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-21 13:21:18 +0000
commit473d194b6edc1eaf9d70d01893e19730399bc873 (patch)
tree6bccf25d9c1ae49f7dd2e4a27605d1d03f3a6458
parenta262b338017182c407dc913732b0c48a7e34d017 (diff)
don't hardcode poll.o for Darwin
fix incorrect portion of patch from yesterday's Solaris fixes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7168 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xChangeLog3
-rwxr-xr-xMakefile2
-rwxr-xr-xapps/Makefile2
3 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 18e023df8..8916ffd40 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2005-11-21 Russell Bryant <russell@digium.com>
+ * Makefile: Don't hard-code that poll functionality needs to be provided on Darwin.
+ * apps/Makefile: Fix incorrect portion of the patch to fix 'make install' on Solaris.
+
* channels/chan_iax2.c (iax2_getpeername): Return non-zero to indicate that a peer was found when using realtime (issue #5815)
2005-11-20 Russell Bryant <russell@digium.com>
diff --git a/Makefile b/Makefile
index 69e57fea4..82d20748f 100755
--- a/Makefile
+++ b/Makefile
@@ -363,8 +363,6 @@ 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
diff --git a/apps/Makefile b/apps/Makefile
index 6913ef4cb..12d503245 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -59,7 +59,7 @@ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/us
endif
CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs)
-ifneq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),)
+ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
ifneq (${CURLLIBS},)
APPS+=app_curl.so
endif