python3Packages.reportlab: ignore special casing for m1 macs
This commit is contained in:
parent
67d138a0c8
commit
05beb70eb2
@ -0,0 +1,13 @@
|
||||
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(
|
@ -19,6 +19,10 @@ in buildPythonPackage rec {
|
||||
sha256 = "sha256-BPxEIPBUiBXQYj4DHIah9/PzAD5pnZr3FIdC4tcrAko=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./darwin-m1-compat.patch
|
||||
];
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
|
||||
buildInputs = [ ft pillow ];
|
||||
|
Loading…
Reference in New Issue
Block a user