components/openssl/common/patches/027-6978791.patch
author Misaki Miyashita <Misaki.Miyashita@Oracle.COM>
Thu, 28 May 2015 09:54:36 -0700
changeset 4370 7043c27399f1
parent 1158 components/openssl/openssl-1.0.1/patches/27-6978791.patch@227137d9fbce
permissions -rw-r--r--
19375978 Common code between openssl-1.0.1 and openssl-1.0.1-fips-140 should be shared

--- /tmp/Makefile.shared	Mon Feb 14 14:39:29 2011
+++ openssl-1.0.0d/Makefile.shared	Mon Feb 14 14:50:52 2011
@@ -387,6 +387,9 @@
 		ALLSYMSFLAGS="$${MINUSZ}allextract"; \
 		NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
 		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
+		if [ $(LIBNAME) = "ssl" ]; then \
+			SHAREDFLAGS="$$SHAREDFLAGS $${MINUSZ}nodelete"; \
+		fi; \
 	fi; \
 	$(LINK_SO_A)
 # Make sure the apps have non-executable stacks and data (x86/x64 only).