[Java] Use environmental variable JAVA_HOME in Makefile for RocksJava.

main
Yueh-Hsuan Chiang 11 years ago
parent db1854d78c
commit d56959a5fc
  1. 2
      Makefile

@ -430,7 +430,7 @@ ldb: tools/ldb.o $(LIBOBJECTS)
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
JNI_NATIVE_SOURCES = ./java/rocksjni/*.cc JNI_NATIVE_SOURCES = ./java/rocksjni/*.cc
JAVA_INCLUDE = -I/usr/lib/jvm/java-openjdk/include/ -I/usr/lib/jvm/java-openjdk/include/linux JAVA_INCLUDE = -I$(JAVA_HOME)/include/ -I$(JAVA_HOME)/include/linux
ROCKSDBJNILIB = ./java/librocksdbjni.so ROCKSDBJNILIB = ./java/librocksdbjni.so
ifeq ($(PLATFORM), OS_MACOSX) ifeq ($(PLATFORM), OS_MACOSX)

Loading…
Cancel
Save