mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-11 02:52:39 +00:00
python2: fix build with clang 16 on x86_64-darwin
Apply the patch to fix using libutil.h instead of util.h on Darwin for `forkpty` and `openpty`.
This commit is contained in:
parent
00a0662a3c
commit
34b48d4af6
@ -133,6 +133,11 @@ let
|
||||
|
||||
] ++ lib.optionals (x11Support && stdenv.isDarwin) [
|
||||
./use-correct-tcl-tk-on-darwin.patch
|
||||
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Fix darwin build https://bugs.python.org/issue34027
|
||||
../3.7/darwin-libutil.patch
|
||||
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
|
||||
# Disable the use of ldconfig in ctypes.util.find_library (since
|
||||
|
Loading…
Reference in New Issue
Block a user