Add common include paths for jni.h and jni_md.h
This commit is contained in:
parent
73257d7ca2
commit
de3727fe06
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
JAVA_FLAGS=@JAVA_FLAGS@
|
JAVA_FLAGS=@JAVA_FLAGS@
|
||||||
# Without -fno-strict-aliasing, g++ generates invalid code for Java_org_freeswitch_freeswitchJNI_SWIGJavaSessionUpcast, which segfaults
|
# Without -fno-strict-aliasing, g++ generates invalid code for Java_org_freeswitch_freeswitchJNI_SWIGJavaSessionUpcast, which segfaults
|
||||||
LOCAL_CFLAGS=$(JAVA_FLAGS) -fno-strict-aliasing
|
LOCAL_CFLAGS=$(JAVA_FLAGS) -fno-strict-aliasing -I/usr/lib/jvm/java-gcj/include -I/usr/lib/jvm/java-gcj/include/linux
|
||||||
LOCAL_OBJS=freeswitch_java.o switch_swig_wrap.o modjava.o
|
LOCAL_OBJS=freeswitch_java.o switch_swig_wrap.o modjava.o
|
||||||
CLASSES=src/org/freeswitch/Launcher.java \
|
CLASSES=src/org/freeswitch/Launcher.java \
|
||||||
src/org/freeswitch/HangupHook.java \
|
src/org/freeswitch/HangupHook.java \
|
||||||
|
|
Loading…
Reference in New Issue