Rupert Nash <r.n...@epcc.ed.ac.uk> added the comment:

I have just struggled with building CPython with the _ctypes module. 
Fundamentally, the problem appears to be that configure uses pkgconfig to find 
the libffi include directory, while setup.py's detect_ctypes only uses the 
global list of library directories.

I have made an attempt at fixing this by having configure produce the directory 
containing libffi (`LIBFFI_LIBDIR`) and setup.py use this. However I've hardly 
any experience with autotools, so I would be very happy to be corrected if this 
is no use at all.

The PR is https://github.com/python/cpython/pull/20451

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue14527>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to