summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/binutils/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/binutils/package.py b/var/spack/repos/builtin/packages/binutils/package.py
index 00e3e2dff0..69adb52de2 100644
--- a/var/spack/repos/builtin/packages/binutils/package.py
+++ b/var/spack/repos/builtin/packages/binutils/package.py
@@ -82,7 +82,12 @@ class Binutils(AutotoolsPackage, GNUMirrorPackage):
# https://sourceware.org/bugzilla/show_bug.cgi?id=27482
patch("parallel-build-2.36.patch", when="@2.36")
+ # compression libs for debug symbols.
+ # pkg-config is used to find zstd in gas/configure
+ depends_on("pkgconfig", type="build")
+ depends_on("zstd@1.4.0:", when="@2.40:")
depends_on("zlib")
+
depends_on("diffutils", type="build")
depends_on("gettext", when="+nls")