Skip to content

Commit f40d4dd

Browse files
committed
Closes #27979: Remove bundled copy of libffi
An installed copy of libffi is now required for building _ctypes on any platform but OSX and Windows.
1 parent 48ab735 commit f40d4dd

File tree

323 files changed

+56
-140865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+56
-140865
lines changed

Doc/whatsnew/3.7.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ Optimizations
9494
Build and C API Changes
9595
=======================
9696

97+
* A full copy of libffi is no longer bundled for use when building the
98+
:mod:`_ctypes <ctypes>` module on non-OSX UNIX platforms. An installed copy
99+
of libffi is now required when building ``_ctypes`` on such platforms.
100+
Contributed by Zachary Ware in :issue:`27979`.
97101

98102

99103
Deprecated

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ Library
6464
Build
6565
-----
6666

67+
- Issue #27979: A full copy of libffi is no longer bundled for use when
68+
building _ctypes on non-OSX UNIX platforms. An installed copy of libffi is
69+
now required when building _ctypes on such platforms.
70+
6771
- Issue #15819: Remove redundant include search directory option for building
6872
outside the source tree.
6973

Modules/_ctypes/libffi.diff

Lines changed: 0 additions & 209 deletions
This file was deleted.

0 commit comments

Comments
 (0)