--- a/make/common/Modules.gmk Tue Oct 29 14:22:18 2019 -0400
+++ b/make/common/Modules.gmk Tue Oct 29 12:01:14 2019 -0700
@@ -198,6 +198,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