| Message ID | 20260109131130.3006446-1-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [01/11] libusb1: use libtool to install test binaries | expand |
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.*"
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 <ross.burton@arm.com> --- meta/recipes-support/libusb/libusb1_1.0.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)