]> granicus.if.org Git - python/commitdiff
- Issue #21277: Don't try to link _ctypes with a ffi_convenience library.
authordoko@ubuntu.com <doko@ubuntu.com>
Sat, 4 Jun 2016 23:38:29 +0000 (01:38 +0200)
committerdoko@ubuntu.com <doko@ubuntu.com>
Sat, 4 Jun 2016 23:38:29 +0000 (01:38 +0200)
Misc/NEWS
setup.py

index 4b82ccd2dc78f922203da78f230b39a75ec4376c..f0d200832a242cb8ee5985edb2858ba95f464e33 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1290,6 +1290,8 @@ Tests
 Build
 -----
 
+- Issue #21277: Don't try to link _ctypes with a ffi_convenience library.
+
 - Issue #26884: Fix linking extension modules for cross builds.
   Patch by Xavier de Gaye.
 
index 636dd09fab350dacdbb6f20b151f456ba0345081..006ecdddb492207dcd8042db7d49eb2ead926434 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -2007,7 +2007,7 @@ class PyBuildExt(build_ext):
                         break
         ffi_lib = 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)):
                     ffi_lib = lib_name
                     break