Skip to content

Commit

Permalink
on ubuntu needs explict linking against libtinfo
Browse files Browse the repository at this point in the history
Signed-off-by: xermicus <[email protected]>
  • Loading branch information
xermicus committed Jun 4, 2024
1 parent 1c18dbe commit 8637554
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/integration/codesize.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"Baseline": 934,
"Computation": 4360,
"DivisionArithmetics": 39448,
"ERC20": 46512,
"DivisionArithmetics": 39824,
"ERC20": 46356,
"Events": 1749,
"FibonacciIterative": 2973,
"Flipper": 3549,
"SHA1": 32709
"SHA1": 32543
}
5 changes: 4 additions & 1 deletion crates/lld-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ fn set_rustc_link_flags() {
}

#[cfg(target_os = "linux")]
println!("cargo:rustc-link-lib=dylib=stdc++");
{
println!("cargo:rustc-link-lib=dylib=stdc++");
println!("cargo:rustc-link-lib=tinfo");
}
}

fn main() {
Expand Down

0 comments on commit 8637554

Please sign in to comment.