cpython: fix ctypes.util.find_library

This commit is contained in:
Lucas Ransan
2020-12-28 08:43:32 +01:00
committed by Frederik Rietdijk
parent f6fceb321b
commit 188f1375d8
2 changed files with 108 additions and 0 deletions
@@ -165,6 +165,9 @@ in with passthru; stdenv.mkDerivation {
] ++ [
# 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
] ++ optionals (isPy37 || isPy38) [
# Backport a fix for ctypes.util.find_library.
./3.7/find_library.patch
];
postPatch = ''