From 9da136af1274f6776df6dde27b2235aa8a32257c Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 29 Sep 2006 18:16:57 +0000 Subject: [PATCH] Adding this for sofia on OS X git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2870 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/Makefile b/src/mod/endpoints/mod_sofia/Makefile index 89e9497a04..f659046363 100644 --- a/src/mod/endpoints/mod_sofia/Makefile +++ b/src/mod/endpoints/mod_sofia/Makefile @@ -1,9 +1,12 @@ +OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/)) VERSION = sofia-sip-1.12 TARBALL = sofia-sip-1.12.2.tar.gz CFLAGS += -I. -I$(PREFIX)/include/$(VERSION) LDFLAGS += -lsofia-sip-ua LINKER=$(CC) - +ifeq ($(OS_ARCH),Darwin) + LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration +endif all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) depends: