]> git.feebdaed.xyz Git - 0xmirror/buildroot.git/commit
package/libiio: fix python bindings without glibc utils
authorMarcus Hoffmann <buildroot@bubu1.eu>
Mon, 22 Dec 2025 17:26:36 +0000 (18:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 27 Dec 2025 15:54:06 +0000 (16:54 +0100)
commit193df1cbec8b4e18b998494a7dc05c2a06445036
tree48bba3c7b0814e5e8a4a76da8ae4fa655accea77
parent016365cfe3f713541ddebad6d9c8d47973393238
package/libiio: fix python bindings without glibc utils

Libiio python bindings use ctypes and specifically the find_library()
function from there to load the libiio.so shared library. This is not
working unless glibc utils (specifically ldconfig) is installed to the
target (alternatively the target would need gcc or binutils, for objdump
or ld).

The easy fix here is to just bypass the find_library() machinery
altogether as it's not needed on a buildroot system.

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Tested-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libiio/0001-bindings-python-fix-library-loading.patch [new file with mode: 0644]