[Freeswitch-svn] [commit] r2870 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN brian at freeswitch.org
Fri Sep 29 14:16:57 EDT 2006


Author: brian
Date: Fri Sep 29 14:16:57 2006
New Revision: 2870

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile

Log:
Adding this for sofia on OS X

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile	Fri Sep 29 14:16:57 2006
@@ -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:



More information about the Freeswitch-svn mailing list