Merge branch 'fix-macos-builds'

This commit is contained in:
Matthias Koefferlein 2026-02-07 18:59:28 +01:00
commit 85c62e009d
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ jobs:
cibuild: "*macosx*"
cibw_arch: "macos_x86_64"
macos-arch: "x86_64"
- os: "macos-latest" # M1 runner
- os: "macos-14" # M1 runner
cibuild: "*macosx*"
cibw_arch: "macos_arm64"
macos-arch: "arm64"

View File

@ -540,7 +540,7 @@ class Config(object):
"-Wl,-dylib",
"-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: