Message370088
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 |
|
Date |
User |
Action |
Args |
2020-05-27 14:43:24 | rnash | set | recipients:
+ rnash, ned.deily, rosslagerwall, pda |
2020-05-27 14:43:24 | rnash | set | messageid: <1590590604.49.0.298677910268.issue14527@roundup.psfhosted.org> |
2020-05-27 14:43:24 | rnash | link | issue14527 messages |
2020-05-27 14:43:24 | rnash | create | |
|