forked from mirrors/nixpkgs
python: add conditionals to be able to compile with 3.6 or older
This commit is contained in:
parent
a2c62404a0
commit
b4222d6661
|
@ -284,7 +284,7 @@ in with passthru; stdenv.mkDerivation {
|
|||
sha256 = "1h18lnpx539h5lfxyk379dxwr8m2raigcjixkf133l4xy3f4bzi2";
|
||||
}
|
||||
)
|
||||
] ++ optionals (pythonOlder "3.12") [
|
||||
] ++ optionals (pythonAtLeast "3.7" && pythonOlder "3.12") [
|
||||
# LDSHARED now uses $CC instead of gcc. Fixes cross-compilation of extension modules.
|
||||
./3.8/0001-On-all-posix-systems-not-just-Darwin-set-LDSHARED-if.patch
|
||||
# Use sysconfigdata to find headers. Fixes cross-compilation of extension modules.
|
||||
|
|
Loading…
Reference in a new issue