On Wed, Sep 6, 2023 at 8:12 AM Ross Burton <[email protected]> wrote: > > From: Ross Burton <[email protected]> > > We have glibc 2.38 which added strlcpy(), so enable the use of it > explicitly in the Meson cross file for when the target doesn't support > qemu-usermode (which will result in the default of not using it).
will this be effective for non-target variants too ? In that case we may not have glibc 2.38 on all distros yet. > > Signed-off-by: Ross Burton <[email protected]> > --- > meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc > b/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc > index c4648f58c78..3049e5116ec 100644 > --- a/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc > +++ b/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc > @@ -3,3 +3,4 @@ have_c99_vsnprintf = true > have_c99_snprintf = true > have_unix98_printf = true > va_val_copy = true > +have_strlcpy = true > -- > 2.34.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#187340): https://lists.openembedded.org/g/openembedded-core/message/187340 Mute This Topic: https://lists.openembedded.org/mt/101194848/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
