mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
stdbuf: avoid double "lib" prefix
libstdbuf is currently compiled as e.g. liblibstdbuf.so, which is confusing. Compile the library as libstdbuf.so instead. Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
This commit is contained in:
@@ -69,7 +69,7 @@ fn main() {
|
||||
assert!(status.success(), "Failed to build libstdbuf");
|
||||
|
||||
// Copy the built library to OUT_DIR for include_bytes! to find
|
||||
let lib_name = format!("liblibstdbuf{}", platform::DYLIB_EXT);
|
||||
let lib_name = format!("libstdbuf{}", platform::DYLIB_EXT);
|
||||
let dest_path = Path::new(&out_dir).join(format!("libstdbuf{}", platform::DYLIB_EXT));
|
||||
|
||||
// Check multiple possible locations for the built library
|
||||
|
||||
@@ -11,7 +11,7 @@ categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lib]
|
||||
name = "libstdbuf"
|
||||
name = "stdbuf"
|
||||
path = "src/libstdbuf.rs"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user