[issue21277] don't try to link _ctypes with a ffi_convenience library
Matthias Klose
report at bugs.python.org
Thu Apr 17 00:44:26 CEST 2014
New submission from Matthias Klose:
the ffi_convenience library was once built and installed with oldish GCC versions. Either remove it completely from the search path, or search for the standard libffi system library.
--- a/setup.py
+++ b/setup.py
@@ -1939,7 +1939,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_convenience', 'ffi_pic', 'ffi'):
if (self.compiler.find_library_file(lib_dirs, lib_name)):
ffi_lib = lib_name
break
----------
components: Build
messages: 216614
nosy: doko
priority: normal
severity: normal
status: open
title: don't try to link _ctypes with a ffi_convenience library
versions: Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21277>
_______________________________________
More information about the Python-bugs-list
mailing list