Skip to content

Commit 666e2f5

Browse files
committed
Add a note to warn about the behaviour change on debian-like systems
Addresses #379.
1 parent 62e72d4 commit 666e2f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ rustflags = [
237237

238238
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)).
239239

240+
### On Debian-like system the libdir includes the host triplet by default
241+
242+
In order to accomodate Debian's [multiarch](https://wiki.debian.org/Multiarch/Implementation) approach the `cargo-c` default for the `libdir` is `lib/<triplet>` on such system.
243+
Either pass an explicit `--libdir` or pass `--target` to return to the common `libdir=lib` default.
244+
240245
## Acknowledgements
241246

242247
This software has been partially developed in the scope of the H2020 project SIFIS-Home with GA n. 952652.

0 commit comments

Comments
 (0)