From 5b1d1de1a7b93b4e39def4863a9a37527dde9da4 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 26 May 2013 10:53:31 +0000 Subject: [PATCH] Add common include paths for jni.h and jni_md.h --- src/mod/languages/mod_java/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/languages/mod_java/Makefile.in b/src/mod/languages/mod_java/Makefile.in index 1b13897f73..4a1c173682 100644 --- a/src/mod/languages/mod_java/Makefile.in +++ b/src/mod/languages/mod_java/Makefile.in @@ -5,7 +5,7 @@ JAVA_FLAGS=@JAVA_FLAGS@ # 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 CLASSES=src/org/freeswitch/Launcher.java \ src/org/freeswitch/HangupHook.java \