depot/third_party/nixpkgs/pkgs/development/python-modules/reportlab/darwin-m1-compat.patch
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

13 lines
616 B
Diff

diff --git a/setup.py b/setup.py
index 7625074..b3aa2fc 100644
--- a/setup.py
+++ b/setup.py
@@ -249,7 +249,7 @@ class inc_lib_dirs:
aDir(L, os.path.join("/usr/lib", "python%s" % sys.version[:3], "config"))
elif platform == "darwin":
machine = sysconfig_platform.split('-')[-1]
- if machine=='arm64' or os.environ.get('ARCHFLAGS','')=='-arch arm64':
+ if False and machine=='arm64' or os.environ.get('ARCHFLAGS','')=='-arch arm64':
#print('!!!!! detected darwin arm64 build')
#probably an M1
target = pjoin(