From bd9f3f100aa44b9bbb9d2fe4b87145cd007b7495 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 22 May 2024 17:36:42 +0200 Subject: [PATCH] gcc: use -rpath {rpath_dir} not -rpath={rpath dir} (#44315) to make macOS's linker happy. --- var/spack/repos/builtin/packages/gcc/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 2633207113..ce9fe7f702 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -966,7 +966,7 @@ def write_specs_file(self): # rpath if rpath_dir: - f.write(f"*link_libgcc:\n+ -rpath={rpath_dir}\n\n") + f.write(f"*link_libgcc:\n+ -rpath {rpath_dir}\n\n") # programs search path if self.spec.satisfies("+binutils"):