~radicle-link/dev

Fix building client services on M1 macs v1 PROPOSED

Adam Szkoda: 1
 Fix building client services on M1 macs

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~radicle-link/dev/patches/33373/mbox | git am -3
Learn more about email & git

[PATCH] Fix building client services on M1 macs Export this patch

Vendor OpenSSL so that we avoid a build error on M1 Macs caused by
trying to link with x86_64 OpenSSL version installed via Homebrew.

---
 librad/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/librad/Cargo.toml b/librad/Cargo.toml
index 18e68206..a4658669 100644
--- a/librad/Cargo.toml
+++ b/librad/Cargo.toml
@@ -76,7 +76,7 @@ features = ["serde"]
[dependencies.git2]
version = "0.13.24"
default-features = false
features = ["vendored-libgit2"]
features = ["vendored-libgit2", "vendored-openssl"]

[dependencies.libgit2-sys]
version = ">= 0.12.24"
-- 
2.36.0
I don't think this should be the default. Depending on the system
OpenSSL means that people can take advantage of security updates
without distributions having to rebuild link. This should instead be
available as a flag on librad for people who really need vendored
OpenSSL (such as people on M1).