mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Add cross-compilation with mingw
This commit is contained in:
parent
83c038107d
commit
c00471197a
@ -79,6 +79,7 @@ mod build_bundled {
|
|||||||
.flag("-DSQLITE_THREADSAFE=1")
|
.flag("-DSQLITE_THREADSAFE=1")
|
||||||
.flag("-DSQLITE_USE_URI")
|
.flag("-DSQLITE_USE_URI")
|
||||||
.flag("-DHAVE_USLEEP=1")
|
.flag("-DHAVE_USLEEP=1")
|
||||||
|
.flag("-D_POSIX_THREAD_SAFE_FUNCTIONS") // cross compile with MinGW
|
||||||
.warnings(false);
|
.warnings(false);
|
||||||
|
|
||||||
if cfg!(feature = "with-asan") {
|
if cfg!(feature = "with-asan") {
|
||||||
|
Loading…
Reference in New Issue
Block a user