mirror of
https://github.com/corda/corda.git
synced 2025-01-17 10:20:02 +00:00
fix openjdk-src build regression
This commit is contained in:
parent
d873f096a1
commit
e8a1900c2b
2
makefile
2
makefile
@ -130,6 +130,8 @@ ifneq ($(openjdk),)
|
|||||||
endif
|
endif
|
||||||
javahome-object = $(build)/javahome-jar.o
|
javahome-object = $(build)/javahome-jar.o
|
||||||
boot-javahome-object = $(build)/boot-javahome.o
|
boot-javahome-object = $(build)/boot-javahome.o
|
||||||
|
stub-sources = $(src)/openjdk/stubs.cpp
|
||||||
|
stub-objects = $(call cpp-objects,$(stub-sources),$(src),$(build))
|
||||||
else
|
else
|
||||||
options := $(options)-openjdk
|
options := $(options)-openjdk
|
||||||
test-executable = $(shell pwd)/$(executable-dynamic)
|
test-executable = $(shell pwd)/$(executable-dynamic)
|
||||||
|
11
src/openjdk/stubs.cpp
Normal file
11
src/openjdk/stubs.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
struct JavaVM;
|
||||||
|
|
||||||
|
extern "C" int net_JNI_OnLoad(JavaVM*, void*)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
extern "C" int management_JNI_OnLoad(JavaVM*, void*)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user