Skip to content

Commit

Permalink
Remove flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Jun 13, 2024
1 parent dc8f07d commit 8b199b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fn main() {
// "DSO missing from command line" error
// undefined reference to symbol '_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@@GLIBCXX_3.4.21'
if os == OS::Linux {
println!("cargo:rustc-link-arg=-Wl,--copy-dt-needed-entries");
// println!("cargo:rustc-link-arg=-Wl,--copy-dt-needed-entries");
println!("cargo:rustc-link-arg=-Wl,-lstdc++");
}
println!("cargo:rustc-link-search=native={}", xla_dir.join("lib").display());
Expand Down

0 comments on commit 8b199b8

Please sign in to comment.