Skip to content

Commit

Permalink
Fix macOS cross-compilation quirk platform tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Aug 15, 2023
1 parent 4d8c136 commit 6ebb296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py_build_cmake/quirks/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def cross_compile_mac(config: ConfigNode, archs):
if plat_tag:
cross_arch = get_platform_dashes().split('-')
cross_arch[-1] = plat_tag
cross_cfg['arch'] = '_'.join(cross_arch)
cross_cfg['arch'] = platform_to_platform_tag('_'.join(cross_arch))
if sys.implementation.name == 'cpython':
version = ''.join(map(str, sys.version_info[:2]))
abi = sys.abiflags
Expand Down

0 comments on commit 6ebb296

Please sign in to comment.