mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00: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:
parent
a7a493a604
commit
8c1cc5b992
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue