make/common/Modules.gmk
changeset 58846 f9ac726ab347
parent 57804 9b7b9f16dfd9
child 58921 d92acb18e300
--- 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