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