Author rnash
Recipients ned.deily, pda, rnash, rosslagerwall
Date 2020-05-27.14:43:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590590604.49.0.298677910268.issue14527@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-05-27 14:43:24rnashsetrecipients: + rnash, ned.deily, rosslagerwall, pda
2020-05-27 14:43:24rnashsetmessageid: <1590590604.49.0.298677910268.issue14527@roundup.psfhosted.org>
2020-05-27 14:43:24rnashlinkissue14527 messages
2020-05-27 14:43:24rnashcreate