From 6e373b46f8d8fa3ea08d85c0f67e3c5dbf16ff83 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Mon, 19 Feb 2024 05:35:22 -0800 Subject: [PATCH] scorep: specify binutils headers and libs (#42656) --- var/spack/repos/builtin/packages/scorep/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py index 30d36e19f3..c5a1d22454 100644 --- a/var/spack/repos/builtin/packages/scorep/package.py +++ b/var/spack/repos/builtin/packages/scorep/package.py @@ -201,7 +201,8 @@ def configure_args(self): config_args.append("--with-mpi=openmpi") if spec.satisfies("^binutils"): - config_args.append("--with-libbfd=%s" % spec["binutils"].prefix) + config_args.append("--with-libbfd-lib=%s" % spec["binutils"].prefix.lib) + config_args.append("--with-libbfd-include=%s" % spec["binutils"].prefix.include) config_args.extend( [