summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-04-17 04:50:37 +0200
committerGitHub <noreply@github.com>2023-04-16 21:50:37 -0500
commit58f389779a6da8077e95271bf6cdb64fceafb14c (patch)
treeeef0f718fbe1ff7e7d61c160d9a2aab0b09c736a /var
parent508cad0bbc65311cdec0f64287d7adef3b579e4f (diff)
downloadspack-58f389779a6da8077e95271bf6cdb64fceafb14c.tar.gz
spack-58f389779a6da8077e95271bf6cdb64fceafb14c.tar.bz2
spack-58f389779a6da8077e95271bf6cdb64fceafb14c.tar.xz
spack-58f389779a6da8077e95271bf6cdb64fceafb14c.zip
rust: depend on curl+nghttp2 (#36947)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/rust/package.py3
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")