diff options
-rw-r--r-- | var/spack/repos/builtin/packages/rust/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
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") |