Skip to content

Commit 074896f

Browse files
authored
Merge pull request #4 from postgresml/montana/static
static link
2 parents 6fb5770 + 25fdff5 commit 074896f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xgboost-sys/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ fn main() {
7878
#[cfg(feature = "cuda")]
7979
{
8080
println!("cargo:rustc-link-search={}", "/usr/local/cuda/lib64");
81-
println!("cargo:rustc-link-search={}", "/usr/local/cuda/lib64/stubs");
82-
println!("cargo:rustc-link-lib=dylib=cuda");
83-
println!("cargo:rustc-link-lib=dylib=cudart");
81+
println!("cargo:rustc-link-lib=static=cudart_static");
8482
}
8583
}

0 commit comments

Comments
 (0)