Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz4j
[yaz4j-moved-to-github.git] / libyaz4j / build.sh
index d326fda..98f55d9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-JNI_DIR=${JAVA_HOME}/include
+JNI_DIR=${JAVA_HOME:-/usr/lib/jvm/java-6-sun}/include
 set -x
 YAZ_CONFIG=yaz-config
 YAZ_PREFIX=`${YAZ_CONFIG} --prefix`