On Tue, 25 Oct 2022 at 19:22, Vincent Davis Jr <[email protected]> wrote:
> Yeah, but I couldn't find where runtime depend for libegl is set and
> libEGL_mesa.* gets include in image as runtime dependency without me
> directly setting it. A bit of confusion there for me. Feel as if I
> shouldn't need to RDEPENDS:${PN} = "libglx" in recipe that requires it.
> Should just be included in image as libegl is. Is there a way to avoid
> RDEPENDS:${PN} = "libglx"?
>
It would not be necessary if something that dynamically links with these
libraries is included in the image. Then the package task for that
something will find out that these libraries are needed, will trace them to
the packages that contain them, and insert RDEPENDS for those packages
automatically.
If the libraries are open with dlopen( ) at runtime, then yocto's packaging
does not detect that, and you need to add a manual RDEPENDS.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172140):
https://lists.openembedded.org/g/openembedded-core/message/172140
Mute This Topic: https://lists.openembedded.org/mt/94528997/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-