dso_dlfcn.c: fix compile failure on Tru64 [from HEAD].
[openssl.git] / util / cygwin.sh
index fabbf842258458569f1e19550ed0d68f665f1812..a4f2e740b42cae3c3599df25a7d0394f107cdd13 100755 (executable)
@@ -7,7 +7,7 @@
 # Uncomment when debugging
 #set -x
 
-CONFIG_OPTIONS="--prefix=/usr shared no-idea no-rc5 no-mdc2"
+CONFIG_OPTIONS="--prefix=/usr shared zlib no-idea no-rc5"
 INSTALL_PREFIX=/tmp/install
 
 VERSION=
@@ -66,7 +66,7 @@ function create_cygwin_readme()
 
          ./config ${CONFIG_OPTIONS}
 
-       The IDEA, RC5 and MDC2 algorithms are disabled due to patent and/or
+       The IDEA and RC5 algorithms are disabled due to patent and/or
        licensing issues.
        EOF
 }
@@ -119,7 +119,9 @@ create_cygwin_readme
 create_profile_files
 
 cd ${INSTALL_PREFIX}
-strip usr/bin/*.exe usr/bin/*.dll
+chmod u+w usr/lib/engines/*.so
+strip usr/bin/*.exe usr/bin/*.dll usr/lib/engines/*.so
+chmod u-w usr/lib/engines/*.so
 
 # Runtime package
 find etc usr/bin usr/lib/engines usr/share/doc usr/ssl/certs \