소스 검색

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>
Ross Burton 1 년 전
부모
커밋
0fce19ee9e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc

+ 1 - 0
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