--- a/make/common/Modules.gmk Fri Nov 01 10:25:15 2019 -0400
+++ b/make/common/Modules.gmk Mon Nov 04 14:57:27 2019 -0500
@@ -200,6 +200,21 @@
jdk.internal.vm.compiler.management \
#
+# The native dynamic libraries in these modules will also get built into static
+# libraries for consumption by downstream projects that need to statically link
+# the JDK libraries. Those static libraries are not part of the main JDK
+# distribution.
+STATIC_LIBS_MODULES := \
+ java.base \
+ jdk.crypto.ec \
+ jdk.security.auth \
+ java.prefs \
+ java.security.jgss \
+ java.smartcardio \
+ jdk.crypto.cryptoki \
+ jdk.net \
+ #
+
################################################################################
# Some platforms don't have the serviceability agent