$OpenBSD: patch-jdk_make_com_sun_java_pack_Makefile,v 1.6 2015/07/01 15:44:48 kurt Exp $
--- jdk/make/com/sun/java/pack/Makefile.orig	Fri Sep  6 14:27:36 2013
+++ jdk/make/com/sun/java/pack/Makefile	Wed Jul  1 10:41:07 2015
@@ -99,7 +99,7 @@ ifeq ($(PLATFORM), windows) 
   RES = $(OBJDIR)/$(PGRM).res
 else
   LDOUTPUT = -o #Have a space 
-  LDDFLAGS += -lc
+  LDDFLAGS += -lc -Wl,--export-dynamic
   OTHER_LDLIBS  += $(LIBCXX)
 # setup the list of libraries to link in...
 ifeq ($(PLATFORM), linux)
