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