From 5738f602c7f03a6bb785903d84c6dd1630205943 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Wed, 11 Dec 2024 13:44:50 -0800 Subject: [PATCH] Fix macos universal2 detection in setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6951b501..2eb888a4 100644 --- a/setup.py +++ b/setup.py @@ -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():