fix bad libstdc++ linkage
This commit is contained in:
parent
012fca5901
commit
fe369966cd
1 changed files with 0 additions and 1 deletions
|
|
@ -128,7 +128,6 @@ fn main() {
|
|||
// .cargo_debug(cfg!(debug_assertions))
|
||||
.cpp(true)
|
||||
.std("c++23") // libnix compiles against `-std=c++23`
|
||||
.cpp_link_stdlib("c++") // libstdc++ for GNU, c++ for Clang
|
||||
.opt_level((!cfg!(debug_assertions)) as u32 * 3)
|
||||
.files(FEATURES.iter().map(|&feature| format!("libnixide-c/nixide_api_{feature}.cc")))
|
||||
.includes(&include_paths)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue