install.sh: use debian dist libffi - #1818
Conversation
only build libffi from source on non-debian targets
|
As for the others:
|
|
tACK 8675a29 (tested on debian 6.1, full install plus running wallet-tool to check that nothing is broken). to be clear, on libsodium our original thinking was that building from source represented less trust in external sources; but of course it's extremely debatable. I don't have a strong opinion on it. |
Thank you for verifying!
Makes sense and I agree it's not obvious. My 5c if it were my call, I'd hold off giving the same treatment for the other two until at least:
|
We can use
libffi-devandlibffi8debian packages instead of downloading and building from source. Significantly reduces build time.3.4.4(https://packages.debian.org/bookworm/libffi-dev)3.4.8(https://packages.debian.org/trixie/libffi-dev)fall back to installing libffi from source like before on non-debian targets