Skip to content

Commit 7771624

Browse files
authored
Merge pull request numpy#28713 from adamjstewart/build/macos
MAINT: remove use of ld_classic on macOS
1 parent 2f08005 commit 7771624

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove use of -Wl,-ld_classic on macOS. This hack is no longer needed by Spack, and results in libraries that cannot link to other libraries built with ld (new).

meson.build

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,5 @@ if cc_id.startswith('clang')
8282
endif
8383
endif
8484

85-
if host_machine.system() == 'darwin' and cc.has_link_argument('-Wl,-ld_classic')
86-
# New linker introduced in macOS 14 not working yet with at least OpenBLAS in Spack,
87-
# see gh-24964 (and linked scipy issue from there).
88-
add_project_link_arguments('-Wl,-ld_classic', language : ['c', 'cpp'])
89-
endif
90-
9185
subdir('meson_cpu')
9286
subdir('numpy')

0 commit comments

Comments
 (0)