diff mbox series

[2/3] p11-kit: Handle USE_NLS

Message ID 20250815130440.1402632-2-philip.lorenz@bmw.de
State New
Headers show
Series [1/3] systemd: Handle USE_NLS | expand

Commit Message

Philip Lorenz Aug. 15, 2025, 1:04 p.m. UTC
Disable NLS in the build when USE_NLS is off.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
---
 meta/recipes-support/p11-kit/p11-kit_0.25.5.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb b/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb
index d60e4abdaf1..1c982a2aab2 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb
@@ -18,6 +18,7 @@  PACKAGECONFIG ??= ""
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
 PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
 
+EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
 GTKDOC_MESON_OPTION = 'gtk_doc'
 
 FILES:${PN} += " \