rust: depend on curl+nghttp2 (#36947)

This commit is contained in:
Harmen Stoppels
2023-04-17 04:50:37 +02:00
committed by GitHub
parent 508cad0bbc
commit 58f389779a

View File

@@ -60,6 +60,9 @@ class Rust(Package):
depends_on("pkgconfig", type="build")
# TODO: openssl@3.x should be supported in later versions
depends_on("openssl@:1")
# Cargo itself needs libcurl with nghttp2. If not found with pkg-config
# it will build vendored versions of libcurl, nghttp2, and openssl.
depends_on("curl+nghttp2")
depends_on("libssh2")
# https://github.com/rust-lang/cargo/issues/10446
depends_on("libgit2@:1.3", when="@0:1.60")