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).

(From OE-Core rev: b29028a12cfa6747ba83e63e03e4ec9c8064c667)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2023-09-06 16:12:47 +01:00 committed by Richard Purdie
parent 40f407b7c6
commit 0fce19ee9e

View File

@ -3,3 +3,4 @@ have_c99_vsnprintf = true
have_c99_snprintf = true
have_unix98_printf = true
va_val_copy = true
have_strlcpy = true