We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e372ce7 commit 25d0c25Copy full SHA for 25d0c25
tensorflow-sys/build.rs
@@ -43,13 +43,7 @@ fn main() {
43
return;
44
}
45
46
- if let Ok(library) = pkg_config::find_library(LIBRARY) {
47
- for lib in &library.libs {
48
- println!("cargo:rustc-link-lib=dylib={}", lib);
49
- }
50
- for path in &library.link_paths {
51
- println!("cargo:rustc-link-search=native={}", path.display());
52
+ if pkg_config::find_library(LIBRARY).is_ok() {
53
log!("Returning early because {} was already found", LIBRARY);
54
55
0 commit comments