nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
java: import include/linux everywhere
[nit.git]
/
src
/
ffi
/
java.nit
diff --git
a/src/ffi/java.nit
b/src/ffi/java.nit
index
fa3cc84
..
9191141
100644
(file)
--- a/
src/ffi/java.nit
+++ b/
src/ffi/java.nit
@@
-242,7
+242,7
@@
redef class MModule
# Tell the C compiler where to find jni.h and how to link with libjvm
private fun insert_compiler_options
do
# Tell the C compiler where to find jni.h and how to link with libjvm
private fun insert_compiler_options
do
- c_compiler_options = "{c_compiler_options} -I $(JAVA_HOME)/include/"
+ c_compiler_options = "{c_compiler_options} -I $(JAVA_HOME)/include/ -I $(JAVA_HOME)/include/linux/"
c_linker_options = "{c_linker_options} -L $(JNI_LIB_PATH) -ljvm"
end
c_linker_options = "{c_linker_options} -L $(JNI_LIB_PATH) -ljvm"
end