Merge pull request #483 from technic/master

Clarify instruction for building with vcpkg
This commit is contained in:
gwenn
2019-03-25 20:00:36 +01:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -132,6 +132,9 @@ mod build {
if cfg!(target_os = "windows") {
println!("cargo:rerun-if-env-changed=PATH");
}
if cfg!(all(feature = "vcpkg", target_env = "msvc")) {
println!("cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC");
}
// Allow users to specify where to find SQLite.
if let Ok(dir) = env::var(format!("{}_LIB_DIR", env_prefix())) {
// Try to use pkg-config to determine link commands