1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #8067 from Ecordonnier/eco/libstdbuf

stdbuf: avoid double "lib" prefix
This commit is contained in:
Sylvestre Ledru 2025-06-05 08:03:58 +02:00 committed by GitHub
commit dd57bcfd3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ fn main() {
assert!(status.success(), "Failed to build libstdbuf"); assert!(status.success(), "Failed to build libstdbuf");
// Copy the built library to OUT_DIR for include_bytes! to find // 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)); let dest_path = Path::new(&out_dir).join(format!("libstdbuf{}", platform::DYLIB_EXT));
// Check multiple possible locations for the built library // Check multiple possible locations for the built library

View file

@ -11,7 +11,7 @@ categories.workspace = true
edition.workspace = true edition.workspace = true
[lib] [lib]
name = "libstdbuf" name = "stdbuf"
path = "src/libstdbuf.rs" path = "src/libstdbuf.rs"
crate-type = ["cdylib"] crate-type = ["cdylib"]