fix openjdk-src build regression

This commit is contained in:
Joel Dice 2013-03-26 08:30:26 -06:00
parent d873f096a1
commit e8a1900c2b
2 changed files with 13 additions and 0 deletions

View File

@ -130,6 +130,8 @@ ifneq ($(openjdk),)
endif
javahome-object = $(build)/javahome-jar.o
boot-javahome-object = $(build)/boot-javahome.o
stub-sources = $(src)/openjdk/stubs.cpp
stub-objects = $(call cpp-objects,$(stub-sources),$(src),$(build))
else
options := $(options)-openjdk
test-executable = $(shell pwd)/$(executable-dynamic)

11
src/openjdk/stubs.cpp Normal file
View 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;
}