diff make/sun/security/pkcs11/Makefile @ 5457:0e2200a8762c

7195931: UnsatisfiedLinkError on PKCS11.C_GetOperationState while using NSS from jre7u6+ 7197071: Makefiles for various security providers aren't including the default manifest. Reviewed-by: valeriep, mullan, katleman
author wetmore
date Tue, 11 Sep 2012 17:57:47 -0700
parents ba975a730f4b
children
line wrap: on
line diff
--- a/make/sun/security/pkcs11/Makefile	Tue Sep 11 12:41:01 2012 -0700
+++ b/make/sun/security/pkcs11/Makefile	Tue Sep 11 17:57:47 2012 -0700
@@ -224,9 +224,9 @@
 #
 # Build sunpkcs11.jar.
 #
-$(UNSIGNED_DIR)/sunpkcs11.jar: build
+$(UNSIGNED_DIR)/sunpkcs11.jar: build $(JCE_MANIFEST_FILE)
 	$(prep-target)
-	$(BOOT_JAR_CMD) cf $@ $(JAR_DIRS) \
+	$(BOOT_JAR_CMD) cmf $(JCE_MANIFEST_FILE) $@ $(JAR_DIRS) \
 	    $(BOOT_JAR_JFLAGS)
 	@$(java-vm-cleanup)