mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00

Use external libstdbuf.so when building with make, as embedding the library is only needed to work around "cargo install" limitations with shared libraries. Also change default installation directory to /usr/local/libexec/coreutils/ for consistency with GNU coreutils Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
12 lines
416 B
TOML
12 lines
416 B
TOML
[target.x86_64-unknown-redox]
|
|
linker = "x86_64-unknown-redox-gcc"
|
|
|
|
[env]
|
|
PROJECT_NAME_FOR_VERSION_STRING = "uutils coreutils"
|
|
# See feat_external_libstdbuf in src/uu/stdbuf/Cargo.toml
|
|
LIBSTDBUF_DIR = "/usr/local/libexec/coreutils"
|
|
|
|
# libstdbuf must be a shared library, so musl libc can't be linked statically
|
|
# https://github.com/rust-lang/rust/issues/82193
|
|
[build]
|
|
rustflags = ["-C", "target-feature=-crt-static"]
|