--- a/Configure +++ b/Configure @@ -2076,6 +2076,11 @@ EOF close(OUT); } +# ugly hack to disable engines +if($target eq "mingwx") { + system("sed -e s/^LIB/XLIB/g -i engines/Makefile"); +} + print <