Adding this for sofia on OS X
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2870 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
396beef390
commit
9da136af12
|
@ -1,9 +1,12 @@
|
||||||
|
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
|
||||||
VERSION = sofia-sip-1.12
|
VERSION = sofia-sip-1.12
|
||||||
TARBALL = sofia-sip-1.12.2.tar.gz
|
TARBALL = sofia-sip-1.12.2.tar.gz
|
||||||
CFLAGS += -I. -I$(PREFIX)/include/$(VERSION)
|
CFLAGS += -I. -I$(PREFIX)/include/$(VERSION)
|
||||||
LDFLAGS += -lsofia-sip-ua
|
LDFLAGS += -lsofia-sip-ua
|
||||||
LINKER=$(CC)
|
LINKER=$(CC)
|
||||||
|
ifeq ($(OS_ARCH),Darwin)
|
||||||
|
LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
|
||||||
|
endif
|
||||||
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
||||||
|
|
||||||
depends:
|
depends:
|
||||||
|
|
Loading…
Reference in New Issue