From: Ross Burton Date: Fri, 9 Jan 2026 13:11:20 +0000 (+0000) Subject: libusb1: use libtool to install test binaries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141d4b8c00c26e84952af4d10c6736fe2e365e86;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libusb1: use libtool to install test binaries If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libusb/libusb1_1.0.29.bb b/meta/recipes-support/libusb/libusb1_1.0.29.bb index 2f43ee68b7..856e32d1c6 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.29.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.29.bb @@ -42,7 +42,7 @@ do_compile_ptest() { } do_install_ptest() { - install -m 755 ${B}/tests/stress ${D}${PTEST_PATH} + ${B}/libtool --mode=install install ${B}/tests/stress ${D}${PTEST_PATH} } FILES:${PN} += "${base_libdir}/*.so.*"