fix ncurses dependency

This commit is contained in:
John Smith 2021-12-04 12:51:08 -05:00
parent 4e3dae6926
commit 62ec08359f
3 changed files with 1 additions and 29 deletions

24
Cargo.lock generated
View File

@ -997,10 +997,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"log", "log",
"maplit",
"ncurses",
"signal-hook", "signal-hook",
"term_size",
"unicode-segmentation", "unicode-segmentation",
"unicode-width", "unicode-width",
] ]
@ -2067,17 +2064,6 @@ dependencies = [
"socket2", "socket2",
] ]
[[package]]
name = "ncurses"
version = "5.101.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e2c5d34d72657dc4b638a1c25d40aae81e4f1c699062f72f467237920752032"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]] [[package]]
name = "ndk" name = "ndk"
version = "0.5.0" version = "0.5.0"
@ -3373,16 +3359,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "term_size"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9"
dependencies = [
"libc",
"winapi",
]
[[package]] [[package]]
name = "termcolor" name = "termcolor"
version = "1.1.2" version = "1.1.2"

@ -1 +1 @@
Subproject commit 7f998c82d171e6de783b3250006ae8e2b6316597 Subproject commit e95298b6db6d971d1fdc13439d1c7edd48b744de

View File

@ -4,8 +4,4 @@ fn main() {
.src_prefix("../veilid-server/") .src_prefix("../veilid-server/")
.run() .run()
.expect("compiling schema"); .expect("compiling schema");
#[cfg(unix)]
{
println!("cargo:rustc-link-lib=static=ncursesw");
}
} }