mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 11:53:16 +00:00
OSARCH isn't set right but this will build now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4563 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
514bde18c7
commit
d60866b9bc
@ -1,10 +1,9 @@
|
|||||||
# define these targets in your makefile if you wish
|
# define these targets in your makefile if you wish
|
||||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||||
|
OSARCH=$(shell uname -s)
|
||||||
# and define these variables to imapact your build
|
# and define these variables to imapact your build
|
||||||
|
|
||||||
ifeq ($(OSARCH),Darwin)
|
ifeq ($(OSARCH),Darwin)
|
||||||
LOCAL_CFLAGS += -I/Library/Frameworks/swift.framework/Versions/4/Headers
|
|
||||||
LOCAL_LDFLAGS += -framework swift
|
LOCAL_LDFLAGS += -framework swift
|
||||||
else
|
else
|
||||||
LOCAL_LDFLAGS += -L/opt/swift/lib -lswift -lceplex_us -lceplang_en -lm
|
LOCAL_LDFLAGS += -L/opt/swift/lib -lswift -lceplex_us -lceplang_en -lm
|
||||||
|
@ -38,8 +38,11 @@
|
|||||||
#ifdef __ICC
|
#ifdef __ICC
|
||||||
#pragma warning (disable:188)
|
#pragma warning (disable:188)
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef MACOSX
|
||||||
|
#include <swift/swift.h>
|
||||||
|
#else
|
||||||
#include <swift.h>
|
#include <swift.h>
|
||||||
|
#endif
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
|
|
||||||
#define MY_BUF_LEN 1024 * 32
|
#define MY_BUF_LEN 1024 * 32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# define these targets in your makefile if you wish
|
# define these targets in your makefile if you wish
|
||||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||||
|
OSARCH=$(shell uname -s)
|
||||||
# and define these variables to imapact your build
|
# and define these variables to imapact your build
|
||||||
LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
|
LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
|
||||||
LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
|
LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
|
||||||
|
Loading…
x
Reference in New Issue
Block a user