From: Brian West Date: Fri, 29 Sep 2006 18:16:57 +0000 (+0000) Subject: Adding this for sofia on OS X X-Git-Tag: v1.0-beta1~2037 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9da136af1274f6776df6dde27b2235aa8a32257c;p=thirdparty%2Ffreeswitch.git Adding this for sofia on OS X git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2870 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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: