File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ fn windows_gnu_system() {
42
42
)
43
43
. expect ( "cygpath output includes non UTF-8 string" ) ;
44
44
println ! ( "cargo:rustc-link-search={}" , lib_path) ;
45
+ println ! ( "cargo:ROOT={}" , lib_path) ;
45
46
}
46
47
47
48
/// Use vcpkg for msvc "system" feature
@@ -75,6 +76,7 @@ fn macos_system() {
75
76
76
77
println ! ( "cargo:rustc-link-search={}/lib" , openblas. display( ) ) ;
77
78
println ! ( "cargo:rustc-link-search={}/lib" , libomp. display( ) ) ;
79
+ println ! ( "cargo:ROOT={}" , openblas. display( ) ) ;
78
80
}
79
81
80
82
fn main ( ) {
@@ -220,6 +222,7 @@ fn build() {
220
222
} ;
221
223
222
224
println ! ( "cargo:rustc-link-search={}" , source. display( ) ) ;
225
+ println ! ( "cargo:ROOT={}" , source. display( ) ) ;
223
226
for search_path in & make_conf. c_extra_libs . search_paths {
224
227
println ! ( "cargo:rustc-link-search={}" , search_path. display( ) ) ;
225
228
}
You can’t perform that action at this time.
0 commit comments