nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c272ae6
)
lib/jvm: inlude .h files in JAVA_HOME/inlude/linux if it exists
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 10 Nov 2014 19:00:08 +0000
(14:00 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 10 Nov 2014 19:01:53 +0000
(14:01 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm.nit
patch
|
blob
|
history
diff --git
a/lib/jvm.nit
b/lib/jvm.nit
index
4337d9e
..
56080a5
100644
(file)
--- a/
lib/jvm.nit
+++ b/
lib/jvm.nit
@@
-19,8
+19,8
@@
#
# See: http://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/jniTOC.html
module jvm is
- c_compiler_option("-I $(JAVA_HOME)/include/")
- c_linker_option("-L $(JNI_LIB_PATH) -ljvm")
+ c_compiler_option "-I $(JAVA_HOME)/include/ -I $(JAVA_HOME)/include/linux/"
+ c_linker_option "-L $(JNI_LIB_PATH) -ljvm"
end
in "C Header" `{