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 6b7663b commit aad8300Copy full SHA for aad8300
tensorflow-sys/build.rs
@@ -43,7 +43,9 @@ fn main() {
43
return;
44
}
45
46
- if pkg_config::find_library(LIBRARY).is_ok() {
+ // Note that pkg_config will print cargo:rustc-link-lib and cargo:rustc-link-search as
47
+ // appropriate if the library is found.
48
+ if pkg_config::probe_library(LIBRARY).is_ok() {
49
log!("Returning early because {} was already found", LIBRARY);
50
51
0 commit comments