-Index: openssl-0.9.8e/util/libeay.num
-===================================================================
---- openssl-0.9.8e.orig/util/libeay.num 2007-06-04 13:23:32.021865832 +0200
-+++ openssl-0.9.8e/util/libeay.num 2007-06-04 13:23:33.045710184 +0200
+diff -ur openssl-0.9.8h.orig/Configure openssl-0.9.8h/Configure
+--- openssl-0.9.8h.orig/Configure 2008-05-31 17:31:04.000000000 +0200
++++ openssl-0.9.8h/Configure 2008-05-31 17:30:47.000000000 +0200
+@@ -1712,6 +1712,11 @@
+ close(OUT);
+ }
+
++# ugly hack to disable engines
++if($target eq "mingwx") {
++ system("sed -e s/^LIB/XLIB/g -i engines/Makefile");
++}
++
+ print <<EOF;
+
+ Configured for $target.
+diff -ur openssl-0.9.8h.orig/util/libeay.num openssl-0.9.8h/util/libeay.num
+--- openssl-0.9.8h.orig/util/libeay.num 2008-05-31 17:27:46.000000000 +0200
++++ openssl-0.9.8h/util/libeay.num 2008-05-31 17:30:47.000000000 +0200