curr_dir=`pwd`
## -- Get mxe
+mkdir -p $prefix
cd $prefix
git clone https://github.com/mxe/mxe.git
cd $prefix/mxe
echo "MXE_TARGETS := x86_64-w64-mingw32.shared" > settings.mk
-## -- Patch mxe
-patch -s -p1 < $curr_dir/mxe.patch
-
## -- Compile all
make -j$cores -k qtbase vtk itk nsis