summaryrefslogtreecommitdiffstats
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-08-25 11:08:06 +0100
commit55ad14e87ce77cd87c1e09a2c89d0d920325ce33 (patch)
tree91bd4452189b6a128d8a36854ab9ee532aad2516
parent9db33550d549815dbed9e82ff3023b37f891add6 (diff)
downloadpoky-55ad14e87ce77cd87c1e09a2c89d0d920325ce33.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: 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>
-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"