parent
66868b38ce
commit
fdbe092483
@ -1,2 +1,3 @@
|
||||
/libsqlite3-sys-0.18.0.crate
|
||||
/libsqlite3-sys-0.20.1.crate
|
||||
/libsqlite3-sys-0.23.1.crate
|
||||
|
@ -0,0 +1,21 @@
|
||||
diff -up libsqlite3-sys-0.23.1/build.rs.orig libsqlite3-sys-0.23.1/build.rs
|
||||
--- libsqlite3-sys-0.23.1/build.rs.orig 1973-11-29 22:33:09.000000000 +0100
|
||||
+++ libsqlite3-sys-0.23.1/build.rs 2021-11-12 01:46:07.337024842 +0100
|
||||
@@ -423,6 +423,7 @@ mod build_linked {
|
||||
return HeaderLocation::FromEnvironment;
|
||||
}
|
||||
|
||||
+ #[cfg(all(feature = "vcpkg", target_env = "msvc"))]
|
||||
if let Some(header) = try_vcpkg() {
|
||||
return header;
|
||||
}
|
||||
@@ -450,7 +451,8 @@ mod build_linked {
|
||||
}
|
||||
}
|
||||
}
|
||||
-
|
||||
+
|
||||
+ #[cfg(all(feature = "vcpkg", target_env = "msvc"))]
|
||||
fn try_vcpkg() -> Option<HeaderLocation> {
|
||||
if cfg!(feature = "vcpkg") && is_compiler("msvc") {
|
||||
// See if vcpkg can find it.
|
@ -1 +1 @@
|
||||
SHA512 (libsqlite3-sys-0.20.1.crate) = 8ba1e7c7a6a5dc11ee4a2c817879478c7e3d349b237b418edf72489a232d39904537abfa2274553b06ae2dc909f4f9e2b3d8ae91a4c75768a3215ebeb5c057d1
|
||||
SHA512 (libsqlite3-sys-0.23.1.crate) = 06ae4fcfb7537fdf2e85bd4c5f1f61da51cf0b946c7364baae2c15e9e84bb89257cb21eae575d1542327f6685e879130a853c445504ceb86c9b00b4d9e85b2a1
|
||||
|
Loading…
Reference in new issue