[constants]
macos_ver = ['-mmacosx-version-min=11.0']
macos_arch = ['-arch', 'arm64']

[host_machine]
system = 'darwin'
cpu_family = 'aarch64'
cpu = 'arm64'
endian = 'little'

[binaries]
c = ['clang']
cpp = ['clang++']
objc = ['clang']
objcpp = ['clang++']
ar = ['ar']
strip = ['strip']
pkgconfig = ['pkg-config']

[built-in options]
c_args = macos_arch + macos_ver
cpp_args = macos_arch + macos_ver + ['-stdlib=libc++']
objc_args = macos_arch + macos_ver
objcpp_args = macos_arch + macos_ver + ['-stdlib=libc++']
c_link_args = macos_arch + macos_ver
cpp_link_args = macos_arch + macos_ver
objc_link_args = macos_arch + macos_ver
objcpp_link_args = macos_arch + macos_ver
