diff --git a/mesonpy/__init__.py b/mesonpy/__init__.py index a247998b..d4dd3bd0 100644 --- a/mesonpy/__init__.py +++ b/mesonpy/__init__.py @@ -711,6 +711,8 @@ def __init__( cpp = ['c++', '-arch', {arch!r}] objc = ['cc', '-arch', {arch!r}] objcpp = ['c++', '-arch', {arch!r}] + strip = ['strip', '-arch', {arch!r}] + [host_machine] system = 'darwin' cpu = {arch!r} @@ -731,11 +733,12 @@ def __init__( cross_file_data = textwrap.dedent(f''' [binaries] + ar = '{arch}-apple-{subsystem}-ar' c = '{arch}-apple-{subsystem}-clang' cpp = '{arch}-apple-{subsystem}-clang++' objc = '{arch}-apple-{subsystem}-clang' objcpp = '{arch}-apple-{subsystem}-clang++' - ar = '{arch}-apple-{subsystem}-ar' + strip = '{arch}-apple-{subsystem}-strip' [host_machine] system = 'ios'