There was an error while loading. Please reload this page.
1 parent 4725b1d commit ab7f522Copy full SHA for ab7f522
1 file changed
btls-sys/build/main.rs
@@ -710,7 +710,9 @@ fn emit_link_directives(config: &Config) {
710
.map(|s| dir.join(s))
711
.filter(|d| d.exists())
712
.unwrap_or(dir);
713
- println!("cargo:rustc-link-search=native={}", dir.display());
+ if dir.is_dir() {
714
+ println!("cargo:rustc-link-search=native={}", dir.display());
715
+ }
716
}
717
718
if let Some(cpp_lib) = get_cpp_runtime_lib(config) {
0 commit comments