summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/common/173 as-needed/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/common/173 as-needed/meson.build b/test cases/common/173 as-needed/meson.build
index 3b54aaa02..1c2f632b4 100644
--- a/test cases/common/173 as-needed/meson.build
+++ b/test cases/common/173 as-needed/meson.build
@@ -11,3 +11,10 @@ libB = library('B', 'libB.cpp', link_with : libA)
main_exe = executable('C', 'main.cpp', link_with : [libA, libB])
test('main test', main_exe)
+
+# Since Sonoma / Xcode 15 the macos linker considers the dependency via the
+# initializer sufficient to pull in the other other library. There's no good
+# way to detect the linker version here, so just skip the on macos.
+if host_machine.system() == 'darwin'
+ error('MESON_SKIP_TEST: the macos linker is too smart for this test')
+endif