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 <[email protected]> --- meta/recipes-support/libusb/libusb1_1.0.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.*" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229106): https://lists.openembedded.org/g/openembedded-core/message/229106 Mute This Topic: https://lists.openembedded.org/mt/117174291/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
