gcc: use -rpath {rpath_dir} not -rpath={rpath dir} (#44315)

to make macOS's linker happy.
This commit is contained in:
Harmen Stoppels 2024-05-22 17:36:42 +02:00 committed by Harmen Stoppels
parent b5962613a0
commit bd9f3f100a

View file

@ -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"):