gcc: use -rpath {rpath_dir} not -rpath={rpath dir} (#44315)
to make macOS's linker happy.
This commit is contained in:
parent
b5962613a0
commit
bd9f3f100a
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ def write_specs_file(self):
|
||||||
|
|
||||||
# rpath
|
# rpath
|
||||||
if rpath_dir:
|
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
|
# programs search path
|
||||||
if self.spec.satisfies("+binutils"):
|
if self.spec.satisfies("+binutils"):
|
||||||
|
|
Loading…
Reference in a new issue