Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / reportlab / darwin-m1-compat.patch
blob5c9d4404f97e66f53401e1a7967d69aae3b49934
1 diff --git a/setup.py b/setup.py
2 index 7625074..b3aa2fc 100644
3 --- a/setup.py
4 +++ b/setup.py
5 @@ -249,7 +249,7 @@ class inc_lib_dirs:
6 aDir(L, os.path.join("/usr/lib", "python%s" % sys.version[:3], "config"))
7 elif platform == "darwin":
8 machine = sysconfig_platform.split('-')[-1]
9 - if machine=='arm64' or os.environ.get('ARCHFLAGS','')=='-arch arm64':
10 + if False and machine=='arm64' or os.environ.get('ARCHFLAGS','')=='-arch arm64':
11 #print('!!!!! detected darwin arm64 build')
12 #probably an M1
13 target = pjoin(