Skip to content

Commit 333c59c

Browse files
authored
Fix macos universal2 detection in setup.py (#613)
Thanks @TingDaoK for discovering this copy/paste bug. This wasn't causing any actual problems (other than longer-than-necessary build times), but it's fixed now.
1 parent 4742211 commit 333c59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def is_macos_universal2():
6868
return False
6969

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

7373

7474
def determine_cross_compile_args():

0 commit comments

Comments
 (0)