make/common/Modules.gmk
branchJDK-8200758-branch
changeset 58921 d92acb18e300
parent 57912 2faaa38c86a4
parent 58846 f9ac726ab347
child 58994 b09ba68c6a19
--- 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