Place the option in the right place

This commit is contained in:
Matthias Koefferlein 2026-02-07 16:29:57 +01:00
parent 860999af40
commit 03e1a88f64
1 changed files with 1 additions and 2 deletions

View File

@ -538,10 +538,9 @@ class Config(object):
if is_library:
args += [
"-Wl,-dylib",
"-Wl,-headerpad_max_install_names",
"-Wl,-install_name,@rpath/%s" % self.libname_of(mod, is_lib=True),
]
args += ["-Wl,-rpath,@loader_path/"]
args += ["-Wl,-rpath,@loader_path/", "-Wl,-headerpad_max_install_names"]
args += options.get("ldflags-gcc", [])
args += options.get("ldflags-darwin", [])
else: