From: Ross Burton Date: Wed, 6 Sep 2023 15:12:47 +0000 (+0100) Subject: glib-2.0: explicitly enable strlcpy() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29028a12cfa6747ba83e63e03e4ec9c8064c667;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glib-2.0: explicitly enable strlcpy() 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). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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