Skip to content

Commit aaa260c

Browse files
committed
build.rs exports include and library paths
1 parent 499972d commit aaa260c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openblas-src/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ fn build() {
220220
};
221221

222222
println!("cargo:rustc-link-search={}", source.display());
223+
println!("cargo:INCLUDE={}", source.display());
224+
println!("cargo:LIBRARY={}", source.display());
223225
for search_path in &make_conf.c_extra_libs.search_paths {
224226
println!("cargo:rustc-link-search={}", search_path.display());
225227
}

0 commit comments

Comments
 (0)