From: "doko@ubuntu.com" <doko@ubuntu.com>
Date: Sun, 5 Jun 2016 01:38:29 +0200
Subject: - Issue #21277: Don't try to link _ctypes with a ffi_convenience
 library.

Origin: cPython: https://github.com/python/cpython/commit/ae683657b708b38b6ddff4afeb1d21fc908d67d0
---
 cpython27/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpython27/setup.py b/cpython27/setup.py
index f764223..965ee42 100644
--- a/cpython27/setup.py
+++ b/cpython27/setup.py
@@ -2185,7 +2185,7 @@ class PyBuildExt(build_ext):
                           'ffi_wrapper_h'.format(ffi_h))
         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
