if [ -f "$$i" -o -f "$$i.a" ]; then \
( echo installing $$i; \
- if [ "$(PLATFORM)" != "Cygwin" ]; then \
-+ if [ "$(PLATFORM)" == "Cygwin" ]; then \
++ if [ "$(PLATFORM)" = "Cygwin" ]; then \
+ c=`echo $$i | sed 's/^lib\(.*\)\.dll\.a/cyg\1-$(SHLIB_VERSION_NUMBER).dll/'`; \
+ cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
+ chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
- else \
- c=`echo $$i | sed 's/^lib\(.*\)\.dll\.a/cyg\1-$(SHLIB_VERSION_NUMBER).dll/'`; \
-+ elif [ "$(PLATFORM)" == "mingw32" ]; then \
++ elif [ "$(PLATFORM)" = "mingw32" ]; then \
+ c=`echo $$i | sed 's/^lib\(.*\)\.dll\.a/\1eay32.dll/'`; \
+ [ "$$i" = "libcrypto.dll.a" ] && c=libeay32.dll; \
cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \
link_app.cygwin:
$(LINK_APP)
+Index: util/mkdef.pl
+--- ../tmp/openssl-0.9.8b/util/mkdef.pl 2006-01-02 06:08:22.000000000 -0800
++++ ./util/mkdef.pl 2006-07-26 23:21:46.000000000 -0700
+@@ -1204,7 +1204,7 @@
+ ; Definition file for the DLL version of the $name library from OpenSSL
+ ;
+
+-LIBRARY $libname $liboptions
++LIBRARY $libname.DLL $liboptions
+
+ DESCRIPTION '$description'
+