mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-12 22:34:18 +00:00
Reduced JNI version from 1_6 to 1_4, and used javac and jar in PATH not in JAVA_HOME to build (on MacOS)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5759 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
fdbaad17fe
commit
5fff7be5e1
3 files changed
+8
-9
No files matched your search
@@ -4,7 +4,6 @@
|
||||
# and define these variables to impact your build
|
||||
|
||||
JAVA_FLAGS=@JAVA_FLAGS@
|
||||
JAVA_HOME=@JAVA_HOME@
|
||||
# Without -fno-strict-aliasing, g++ generates invalid code for Java_org_freeswitch_freeswitchJNI_SWIGJavaSessionUpcast, which segfaults
|
||||
LOCAL_CFLAGS=$(JAVA_FLAGS) -fno-strict-aliasing
|
||||
LOCAL_OBJS=freeswitch_java.o switch_swig_wrap.o
|
||||
@@ -19,8 +18,8 @@ include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
mkdir -p classes
|
||||
$(JAVA_HOME)/bin/javac -sourcepath src -d classes $(CLASSES)
|
||||
$(JAVA_HOME)/bin/jar cf freeswitch.jar -C classes org
|
||||
javac -sourcepath src -d classes $(CLASSES)
|
||||
jar cf freeswitch.jar -C classes org
|
||||
|
||||
reswig:
|
||||
rm -f switch_swig_wrap.cpp
|
||||
|
||||
Reference in new issue
Block a user