--- a/openssl/openssl-1.0.1e-msys2.patch
+++ b/openssl/openssl-1.0.1e-msys2.patch
@@ -277,6 +277,16 @@
  link_o.alpha-osf1-shared: link_o.alpha-osf1
  link_a.alpha-osf1-shared: link_a.alpha-osf1
  link_app.alpha-osf1-shared: link_app.alpha-osf1
+--- openssl-1.0.1e-cygwin/util/mklink.pl	2013-04-04 07:00:05.511718700 +0000
++++ openssl-1.0.1e-msys/util/mklink.pl	2013-04-04 07:00:17.292968700 +0000
+@@ -51,7 +51,6 @@
+ 
+ my $file;
+ $symlink_exists=eval {symlink("",""); 1};
+-if ($^O eq "msys") { $symlink_exists=0 };
+ foreach $file (@files) {
+     my $err = "";
+     if ($symlink_exists) {
 diff -Naur openssl-1.0.1e-cygwin/util/msys.sh openssl-1.0.1e-msys/util/msys.sh
 --- openssl-1.0.1e-cygwin/util/msys.sh	1970-01-01 00:00:00.000000000 +0000
 +++ openssl-1.0.1e-msys/util/msys.sh	2013-03-26 20:15:33.357421900 +0000