projects
/
yaz4j-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcdd77c
)
Using JAVA_HOME to determine jni.h location.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 7 Apr 2008 09:33:46 +0000
(11:33 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 7 Apr 2008 09:33:46 +0000
(11:33 +0200)
libyaz4j/build.sh
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/libyaz4j/build.sh
b/libyaz4j/build.sh
old mode 100644
(file)
new mode 100755
(executable)
index
d23d1d8
..
05768a5
--- a/
libyaz4j/build.sh
+++ b/
libyaz4j/build.sh
@@
-1,8
+1,5
@@
#!/bin/bash
-
-JNI_DIR=$( find / -type f -name jni.h 2>/dev/null | xargs dirname );
-
-echo using JNI include directory - $JNI_DIR;
+JNI_DIR=${JAVA_HOME}/include
swig -I"include" -I"../dependencies/yaz-2.1.28/include/yaz/" -outdir ../src/org/yaz4j/jni -package org.yaz4j.jni -o src/libyaz4j.cpp -c++ -java libyaz4j.i