From 666e2f5a620b8429de8285ed9e0378b6bc4500d8 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 19 Jun 2024 20:27:30 +0200 Subject: [PATCH] Add a note to warn about the behaviour change on debian-like systems Addresses #379. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f2c3affb..b196d773 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,11 @@ rustflags = [ However, it is preferred to install Rust through the system package manager instead of rustup (e.g. with `apk add rust`), because the provided package should already handle this (see e.g. [here](https://git.alpinelinux.org/aports/tree/main/rust/APKBUILD?h=3.19-stable#n232)). +### On Debian-like system the libdir includes the host triplet by default + +In order to accomodate Debian's [multiarch](https://wiki.debian.org/Multiarch/Implementation) approach the `cargo-c` default for the `libdir` is `lib/` on such system. +Either pass an explicit `--libdir` or pass `--target` to return to the common `libdir=lib` default. + ## Acknowledgements This software has been partially developed in the scope of the H2020 project SIFIS-Home with GA n. 952652.