From cb2a24b886a24b71c3763dadbc5da068bfb0816b Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 7 Feb 2026 11:28:47 +0100 Subject: [PATCH 1/5] Does it still build on MacOS 14? --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c38ef2d2..f13c7b30a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" From 7d27bc49f48aa5edaaeadf625c7088407e5fd1fb Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 7 Feb 2026 15:54:51 +0100 Subject: [PATCH 2/5] Maxbe fixing build issue --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 6f3415574..695cc171f 100644 --- a/setup.py +++ b/setup.py @@ -538,6 +538,7 @@ def link_args(self, options, is_library): if is_library: args += [ "-Wl,-dylib", + "-Wl,--headerpad_max_install_names,128", "-Wl,-install_name,@rpath/%s" % self.libname_of(mod, is_lib=True), ] args += ["-Wl,-rpath,@loader_path/"] From 593024547462f43a581c24509d967e54d5a720cd Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 7 Feb 2026 16:02:09 +0100 Subject: [PATCH 3/5] Typo fixed? --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 695cc171f..5a7bab9a6 100644 --- a/setup.py +++ b/setup.py @@ -538,7 +538,7 @@ def link_args(self, options, is_library): if is_library: args += [ "-Wl,-dylib", - "-Wl,--headerpad_max_install_names,128", + "-Wl,-headerpad_max_install_names,128", "-Wl,-install_name,@rpath/%s" % self.libname_of(mod, is_lib=True), ] args += ["-Wl,-rpath,@loader_path/"] From 860999af40c36ebd05898e7ec8300801a279089b Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 7 Feb 2026 16:15:10 +0100 Subject: [PATCH 4/5] F*** GPT --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5a7bab9a6..a06d6a143 100644 --- a/setup.py +++ b/setup.py @@ -538,7 +538,7 @@ def link_args(self, options, is_library): if is_library: args += [ "-Wl,-dylib", - "-Wl,-headerpad_max_install_names,128", + "-Wl,-headerpad_max_install_names", "-Wl,-install_name,@rpath/%s" % self.libname_of(mod, is_lib=True), ] args += ["-Wl,-rpath,@loader_path/"] From 03e1a88f640596d06be6eca3cffa0f8cae22cebe Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 7 Feb 2026 16:29:57 +0100 Subject: [PATCH 5/5] Place the option in the right place --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a06d6a143..6c7f276b8 100644 --- a/setup.py +++ b/setup.py @@ -538,10 +538,9 @@ def link_args(self, options, is_library): 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: