Permalink
Browse files

fix openjdk-src build regression

  • Loading branch information...
1 parent d873f09 commit e8a1900c2b49fb1f7d02e5142e75c224c7ea3dac @dicej dicej committed Mar 26, 2013
Showing with 13 additions and 0 deletions.
  1. +2 −0 makefile
  2. +11 −0 src/openjdk/stubs.cpp
View
@@ -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)
View
@@ -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;
+}

0 comments on commit e8a1900

Please sign in to comment.