[Java] Use environmental variable JAVA_HOME in Makefile for RocksJava.
This commit is contained in:
parent
db1854d78c
commit
d56959a5fc
2
Makefile
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…
Reference in New Issue
Block a user