Re: [meta-ti][master/wrynose][PATCH] libsdl2: Set runtime dependency for SDL2 tests

Andrew Davis <[email protected]> Thu, 25 Jun 2026 17:38:12 -0500
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
On 6/25/26 3:09 PM, Antonios Christidis via lists.yoctoproject.org wrote:
> From: Antonios Christidis <[email protected]>
> 
> Set a runtime dependency on libsdl2 for the libsdl2-tests package.
> 

Any clue on why this isn't automatic? Do the application in the test
package not link to libsdl2?

Andrew

> Signed-off-by: Antonios Christidis <[email protected]>
> ---
>   meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc b/meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc
> index 33ff0632..750a5603 100644
> --- a/meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc
> +++ b/meta-ti-test/recipes-graphics/libsdl2/libsdl2-ti.inc
> @@ -3,3 +3,4 @@ EXTRA_OECMAKE += "-DSDL_TESTS=ON \
>                    "
>   PACKAGE_BEFORE_PN = "${PN}-tests"
>   FILES:${PN}-tests += "${libexecdir} ${datadir}/installed-tests/SDL2"
> +RDEPENDS:${PN}-tests += "${PN}"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#20098): https://lists.yoctoproject.org/g/meta-ti/message/20098
> Mute This Topic: https://lists.yoctoproject.org/mt/119980196/3619733
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>