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 66b620f971a0bba9203b9ba75412adad8e61487a..40f0169a5d5f8a1c002e8a71f3aef264d6733c07 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; \