From b29028a12cfa6747ba83e63e03e4ec9c8064c667 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 6 Sep 2023 16:12:47 +0100 Subject: [PATCH] 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 --- 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.47.2