On 27 Feb 2026, at 06:49, Changqing Li via lists.openembedded.org 
<[email protected]> wrote:
> -inherit autotools gettext pkgconfig update-alternatives
> +inherit autotools gettext pkgconfig update-alternatives 
> ${@bb.utils.contains('TCLIBC', 'glibc', 'ptest', '', d)}

To match the logic in the ptest image where the test is “disable if musl” not 
“enable if glibc”, you could always inherit ptest and then simply do 
PTEST_ENABLED:libc-musl = “0”

> +             src/tests/*)
> +                 install -m 0755 ${B}/$p ${D}${PTEST_PATH}/src/tests/ ;;
> +             library/tests/*)
> +                 install -m 0755 ${B}/library/tests/.libs/$(basename $p)  
> ${D}${PTEST_PATH}/src/tests/ ;;

If libtool build a binary then please always use libtool to install it. You 
might be able to remove the conditional here and just always do:

${B}/libtool —mode=install install -m 0755 ${B}/$p ${D}${PTEST_PATH}/src/tests/

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232499): 
https://lists.openembedded.org/g/openembedded-core/message/232499
Mute This Topic: https://lists.openembedded.org/mt/118026716/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to