Harmonize dll naming in mingw builds.
authorAndy Polyakov <appro@openssl.org>
Mon, 23 Oct 2006 11:54:18 +0000 (11:54 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 23 Oct 2006 11:54:18 +0000 (11:54 +0000)
Makefile.shared

index 66b620f..40f0169 100644 (file)
@@ -260,14 +260,13 @@ link_o.cygwin:
 link_a.cygwin:
        @ $(CALC_VERSIONS); \
        INHIBIT_SYMLINKS=yes; \
-       SHLIB=cyg$(LIBNAME); def=; \
+       SHLIB=cyg$(LIBNAME); SHLIB_SOVER=-$(LIBVERSION); def=; \
        if expr $(PLATFORM) : 'mingw' > /dev/null; then \
-               SHLIB=$(LIBNAME); \
+               SHLIB=$(LIBNAME); SHLIB_SOVER=32; \
                def="$(LIBNAME).def"; \
                $(PERL) util/mkdef.pl 32 $(LIBNAME) > $$def; \
        fi; \
        SHLIB_SUFFIX=.dll; \
-       SHLIB_SOVER=-$(LIBVERSION); \
        ALLSYMSFLAGS='-Wl,--whole-archive'; \
        NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
        base=;  [ $(LIBNAME) = "crypto" ] && base=-Wl,--image-base,0x63000000; \