New submission from Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com>:
I use --with-system-ffi option, but setup.py fails to find headers of system libffi which are placed outside standard include directory, which causes using of internal copy of libffi. In Gentoo, headers of libffi-3.0.8 are installed into /usr/lib/libffi-3.0.8/include directory, because their content is specific to given architecture. I'm attaching the patch which cause using of `pkg-config libffi -- (Unfortunately subprocess module cannot be used in setup.py, so I'm using os.popen().) ---------- components: Build files: python-fix_search_for_libffi_headers.patch keywords: patch messages: 92856 nosy: Arfrever, loewis severity: normal status: open title: setup.py fails to find headers of system libffi versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file14928/python-fix_search_for_libffi_headers.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6943> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com