https://bugzilla.redhat.com/show_bug.cgi?id=1991164
--- Comment #3 from Fabio Valentini <decathorpe(a)gmail.com> ---
The changes that are required to make this work well as a distro package don't
look too bad:
1) Patch the build.rs file according to these rules:
- remove all blocks that are gated behind #[cfg(not(feature =
"use-pkg-config"))]
- remove #[cfg(feature = "use-pkg-config)] attributes to make those blocks
compile unconditionally
2) Do "rm -r libsodium" between %prep and %cargo_prep.
This should ensure that the crate always dynamically links against the system
copy of libsodium, whether during its own build or while it's being compiled as
dependency for another crate.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=1991164