mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 05:27:45 +00:00
stdbuf: fix build warning
This commit is contained in:
parent
902d0414b0
commit
4deef05880
1 changed files with 0 additions and 4 deletions
|
@ -13,16 +13,12 @@ mod mkmain;
|
||||||
mod platform {
|
mod platform {
|
||||||
pub const DYLIB_EXT: &'static str = "dylib";
|
pub const DYLIB_EXT: &'static str = "dylib";
|
||||||
pub const DYLIB_FLAGS: [&'static str; 3] = ["-dynamiclib", "-undefined", "dynamic_lookup"];
|
pub const DYLIB_FLAGS: [&'static str; 3] = ["-dynamiclib", "-undefined", "dynamic_lookup"];
|
||||||
pub const DYLIB_LINK_START: &'static str = "";
|
|
||||||
pub const DYLIB_LINK_END: &'static str = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
mod platform {
|
mod platform {
|
||||||
pub const DYLIB_EXT: &'static str = "so";
|
pub const DYLIB_EXT: &'static str = "so";
|
||||||
pub const DYLIB_FLAGS: [&'static str; 1] = ["-shared"];
|
pub const DYLIB_FLAGS: [&'static str; 1] = ["-shared"];
|
||||||
pub const DYLIB_LINK_START: &'static str = "-Wl,--whole-archive";
|
|
||||||
pub const DYLIB_LINK_END: &'static str = "-Wl,--no-whole-archive";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: this entire thing is pretty fragile
|
// FIXME: this entire thing is pretty fragile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue