mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(rust): change tinfo linking to ncurses
- tinfo is a part of the ncurses project. - tinfo does not seem easily installable stand alone (no brew install tinfo, no dnf install tinfo-devel, etc) but installing ncurses is possible and generally makes tinfo 'findable' - on macos (M1 mac) it seems that even with ncurses installed tinfo is not found, but linking to ncurses fixes the problem
This commit is contained in:
@@ -318,7 +318,7 @@ so your compiler/linker will have to lookup libs and include dirs on their own"
|
||||
println!("cargo:rustc-link-lib=static={}", llvm_static_lib);
|
||||
}
|
||||
// required by llvm
|
||||
println!("cargo:rustc-link-lib=tinfo");
|
||||
println!("cargo:rustc-link-lib=ncurses");
|
||||
if let Some(name) = get_system_libcpp() {
|
||||
println!("cargo:rustc-link-lib={}", name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user