Skip to content

Commit

Permalink
Fix macos universal2 detection in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Dec 11, 2024
1 parent 4742211 commit 5738f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def is_macos_universal2():
return False

cflags = sysconfig.get_config_var('CFLAGS')
return '-arch x86_64' in cflags and '-arch x86_64' in cflags
return '-arch x86_64' in cflags and '-arch arm64' in cflags


def determine_cross_compile_args():
Expand Down

0 comments on commit 5738f60

Please sign in to comment.