depends: Bump MacOS minimum runtime requirement to 11.0

This is necessary as the new fixup_chains linker behavior is only valid
when the runtime target is >=11.0.
This commit is contained in:
Cory Fields committed 2023-06-22 15:28:47 +00:00
1 parent c2cd47280c
commit fb61bc0c02
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ def check_MACHO_libraries(binary) -> bool:
return ok
def check_MACHO_min_os(binary) -> bool:
if binary.build_version.minos == [10,15,0]:
if binary.build_version.minos == [11,0,0]:
return True
return False
+1 -1
View File
@@ -121,7 +121,7 @@ class TestSymbolChecks(unittest.TestCase):
}
''')
self.assertEqual(call_symbol_check(cc, source, executable, ['-Wl,-platform_version','-Wl,macos', '-Wl,10.15', '-Wl,11.4']),
self.assertEqual(call_symbol_check(cc, source, executable, ['-Wl,-platform_version','-Wl,macos', '-Wl,11.0', '-Wl,11.4']),
(1, f'{executable}: failed SDK'))
def test_PE(self):