From: Ross Burton <[email protected]> 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]> Signed-off-by: Antonin Godard <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (From OE-Core rev: 1dc0e5e240adf61561c899108d2fb5be71e648e4) Signed-off-by: Peter Marko <[email protected]> --- meta/recipes-support/libevent/libevent_2.1.12.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/recipes-support/libevent/libevent_2.1.12.bb b/meta/recipes-support/libevent/libevent_2.1.12.bb index 25388fb4d7f..be690fe94e9 100644 --- a/meta/recipes-support/libevent/libevent_2.1.12.bb +++ b/meta/recipes-support/libevent/libevent_2.1.12.bb @@ -52,12 +52,8 @@ do_install:append() { } do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - for file in ${B}/test/.libs/regress ${B}/test/.libs/test* - do - install -m 0755 $file ${D}${PTEST_PATH}/test - done - + install -d ${D}${PTEST_PATH}/test + ${B}/libtool --mode=install install ${B}/test/regress ${D}${PTEST_PATH}/test/ # handle multilib sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest }
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#244032): https://lists.openembedded.org/g/openembedded-core/message/244032 Mute This Topic: https://lists.openembedded.org/mt/120887854/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
