mirror of https://github.com/python/cpython
- Issue #21277: Don't try to link _ctypes with a ffi_convenience library.
This commit is contained in:
parent
5f2702b7bf
commit
ae683657b7
|
@ -1290,6 +1290,8 @@ Tests
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #21277: Don't try to link _ctypes with a ffi_convenience library.
|
||||||
|
|
||||||
- Issue #26884: Fix linking extension modules for cross builds.
|
- Issue #26884: Fix linking extension modules for cross builds.
|
||||||
Patch by Xavier de Gaye.
|
Patch by Xavier de Gaye.
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2007,7 +2007,7 @@ class PyBuildExt(build_ext):
|
||||||
break
|
break
|
||||||
ffi_lib = None
|
ffi_lib = None
|
||||||
if ffi_inc is not None:
|
if ffi_inc is not None:
|
||||||
for lib_name in ('ffi_convenience', 'ffi_pic', 'ffi'):
|
for lib_name in ('ffi', 'ffi_pic'):
|
||||||
if (self.compiler.find_library_file(lib_dirs, lib_name)):
|
if (self.compiler.find_library_file(lib_dirs, lib_name)):
|
||||||
ffi_lib = lib_name
|
ffi_lib = lib_name
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue