Blame SOURCES/mingw32-openssl-1.0.0-beta3-libversion.patch

e62613
diff -up openssl-1.0.0-beta3/Makefile.org.mingw-libversion openssl-1.0.0-beta3/Makefile.org
e62613
--- openssl-1.0.0-beta3/Makefile.org.mingw-libversion	2009-08-29 22:44:10.000000000 +0300
e62613
+++ openssl-1.0.0-beta3/Makefile.org	2009-08-29 22:45:42.000000000 +0300
e62613
@@ -542,8 +542,8 @@ install_sw:
e62613
 				fi ); \
e62613
 				if expr $(PLATFORM) : 'mingw' > /dev/null; then \
e62613
 				(	case $$i in \
e62613
-						*crypto*) i=libeay32.dll;; \
e62613
-						*ssl*)    i=ssleay32.dll;; \
e62613
+						*crypto*) i=libcrypto-$(SHLIB_SONAMEVER).dll;; \
e62613
+						*ssl*)    i=libssl-$(SHLIB_SONAMEVER).dll;; \
e62613
 					esac; \
e62613
 					echo installing $$i; \
e62613
 	 				cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
e62613
diff -up openssl-1.0.0-beta3/Makefile.shared.mingw-libversion openssl-1.0.0-beta3/Makefile.shared
e62613
--- openssl-1.0.0-beta3/Makefile.shared.mingw-libversion	2009-08-29 22:33:22.000000000 +0300
e62613
+++ openssl-1.0.0-beta3/Makefile.shared	2009-08-29 22:33:22.000000000 +0300
e62613
@@ -47,7 +47,7 @@ LIBEXTRAS=
e62613
 # LIBVERSION contains the current version of the library.
e62613
 # For example, to build libfoo.so.1.2, you need to do the following:
e62613
 #LIBVERSION=1.2
e62613
-LIBVERSION=
e62613
+LIBVERSION=10
e62613
 
e62613
 # LIBCOMPATVERSIONS contains the compatibility versions (a list) of
e62613
 # the library.  They MUST be in decreasing order.
e62613
@@ -250,7 +250,7 @@ link_o.cygwin:
e62613
 	base=-Wl,--enable-auto-image-base; \
e62613
 	deffile=; \
e62613
 	if expr $(PLATFORM) : 'mingw' > /dev/null; then \
e62613
-		SHLIB=$(LIBNAME)eay32; base=; \
e62613
+		SHLIB=lib$(LIBNAME); base=; \
e62613
 		if test -f $(LIBNAME)eay32.def; then \
e62613
 			deffile=$(LIBNAME)eay32.def; \
e62613
 		fi; \
e62613
@@ -282,13 +282,7 @@
e62613
 	dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; extras=; \
e62613
 	base=-Wl,--enable-auto-image-base; \
e62613
 	if expr $(PLATFORM) : 'mingw' > /dev/null; then \
e62613
-		case $(LIBNAME) in \
e62613
-			crypto) SHLIB=libeay;; \
e62613
-			ssl) SHLIB=ssleay;; \
e62613
-		esac; \
e62613
-		SHLIB_SOVER=32; \
e62613
-		extras="$(LIBNAME).def"; \
e62613
-		$(PERL) util/mkdef.pl 32 $$SHLIB > $$extras; \
e62613
+		SHLIB=lib$(LIBNAME); \
e62613
 		base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && base=-Wl,--image-base,0x63000000; \
e62613
 	fi; \
e62613
 	dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \