Add cross-compilation with mingw

This commit is contained in:
Sergey Duck
2020-06-27 14:37:26 +03:00
committed by Thom Chiovoloni
parent 83c038107d
commit c00471197a

View File

@@ -79,6 +79,7 @@ mod build_bundled {
.flag("-DSQLITE_THREADSAFE=1")
.flag("-DSQLITE_USE_URI")
.flag("-DHAVE_USLEEP=1")
.flag("-D_POSIX_THREAD_SAFE_FUNCTIONS") // cross compile with MinGW
.warnings(false);
if cfg!(feature = "with-asan") {