[Python-checkins] cpython: - Issue #21277: Don't try to link _ctypes with a ffi_convenience library.

matthias.klose python-checkins at python.org
Sat Jun 4 19:38:36 EDT 2016


https://hg.python.org/cpython/rev/0a8509023c09
changeset:   101732:0a8509023c09
user:        doko at ubuntu.com
date:        Sun Jun 05 01:38:29 2016 +0200
summary:
  - Issue #21277: Don't try to link _ctypes with a ffi_convenience library.

files:
  Misc/NEWS |  2 ++
  setup.py  |  2 +-
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1290,6 +1290,8 @@
 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.
 
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -2007,7 +2007,7 @@
                         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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list