[Buildroot] [PATCH 0/1] python-pylibftdi new package

Yegor Yefremov yegorslists at googlemail.com
Tue Feb 28 11:09:15 UTC 2017


Hi Christian,


On Mon, Feb 27, 2017 at 2:26 PM, Christian Kellermann
<christian.kellermann at solectrix.de> wrote:
> Dear List,
>
> This patch adds the python binding for libftdi. However it contains a
> hackish patch which I would like to discuss. Pylibftdi uses the ctypes
> find_library call to find the libusb and libftdi libraries. This in
> turn seems to rely on ldconfig which is not part of buildroot.
>
> Patching it out here seems to work fine, but this kind of hides the
> general problem of fixing find_library in the python package. How
> would one do this properly?

This is a known problem and so far there is no proper solution. So I
think the patch is acceptable.

Btw. have you tried libftdi's native Python support via SWIG?
pylibftdi hasn't reached version 1.0.0 and the project hasn't been
updated since September 2015.

Yegor


More information about the buildroot mailing list