pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses

This is defined for glibc automatically with _GNU_SOURCE but not for
musl

(From OE-Core rev: 84375186570af548b49e44e884925f4feaddcc7a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2022-08-23 23:34:40 -07:00
committed by Richard Purdie
parent 9db33550d5
commit 55ad14e87c

View File

@@ -32,5 +32,8 @@ PACKAGECONFIG[secret] = "--enable-libsecret, --disable-libsecret, libsecret"
EXTRA_OECONF = " \
--disable-rpath \
"
EXTRA_OECONF:append:libc-musl = " \
ac_cv_should_define__xopen_source=yes \
"
BBCLASSEXTEND = "native nativesdk"