summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-23 23:34:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-03 13:09:49 +0100
commit7b0a2f46f750948158ffb0d94c1c2742b96adbe2 (patch)
treec71d00bc54f7e8b2a16004af9f4adea276ac2eca /meta
parentfa2cc0b97b3d2b97baebf44082f9d60274f35ec9 (diff)
downloadpoky-7b0a2f46f750948158ffb0d94c1c2742b96adbe2.tar.gz
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: 9c9dd76aee4f9d9e25e8e46bd84fe802007e9c0c) 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> (cherry picked from commit 84375186570af548b49e44e884925f4feaddcc7a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/pinentry/pinentry_1.2.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/pinentry/pinentry_1.2.0.bb b/meta/recipes-support/pinentry/pinentry_1.2.0.bb
index 169cac8965..e6cc71a547 100644
--- a/meta/recipes-support/pinentry/pinentry_1.2.0.bb
+++ b/meta/recipes-support/pinentry/pinentry_1.2.0.bb
@@ -32,5 +32,8 @@ PACKAGECONFIG[secret] = "--enable-libsecret, --disable-libsecret, libsecret"
32EXTRA_OECONF = " \ 32EXTRA_OECONF = " \
33 --disable-rpath \ 33 --disable-rpath \
34" 34"
35EXTRA_OECONF:append:libc-musl = " \
36 ac_cv_should_define__xopen_source=yes \
37"
35 38
36BBCLASSEXTEND = "native nativesdk" 39BBCLASSEXTEND = "native nativesdk"