Blame SOURCES/mingw32-openssl-1.0.2a-sfx.patch

aa8173
--- openssl-1.0.2a/engines/Makefile.enginesdir	2015-03-19 14:31:14.000000000 +0100
aa8173
+++ openssl-1.0.2a/engines/Makefile	2015-04-24 18:27:12.875788913 +0200
aa8173
@@ -111,7 +111,10 @@
aa8173
 		for l in $(LIBNAMES); do \
aa8173
 			( echo installing $$l; \
aa8173
 			  pfx=lib; \
aa8173
-			  if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
aa8173
+			  if [ "$(PLATFORM)" = "mingw" ]; then \
aa8173
+			       sfx=.dll; \
aa8173
+			      cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/$$pfx$$l$$sfx.new; \
aa8173
+			  elif expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
aa8173
 				sfx=".so"; \
aa8173
 				cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \
aa8173
 			  else \