From 58f389779a6da8077e95271bf6cdb64fceafb14c Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 17 Apr 2023 04:50:37 +0200 Subject: rust: depend on curl+nghttp2 (#36947) --- var/spack/repos/builtin/packages/rust/package.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py index 410da6b70d..2fa16ff3bc 100644 --- a/var/spack/repos/builtin/packages/rust/package.py +++ b/var/spack/repos/builtin/packages/rust/package.py @@ -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") -- cgit v1.2.3-70-g09d2