]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
p11-kit: backport fix for handle USE_NLS from master
authorAshishKumar Mishra <emailaddress.ashish@gmail.com>
Fri, 3 Oct 2025 04:57:40 +0000 (10:27 +0530)
committerSteve Sakoman <steve@sakoman.com>
Thu, 9 Oct 2025 14:35:42 +0000 (07:35 -0700)
Disable NLS in the build when USE_NLS is off.

(From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed)

This change corresponds to upstream eeb3974472429a99a724f324dc8a63e435741f68
from master .
Since the p11-kit version are different between master & kirkstone
applied the patch manually

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/p11-kit/p11-kit_0.24.1.bb

index 72b446204a1c2d315cd89d16d961aafbd118e636..62aca0cfee5ca98a407de060c9a045c28d21c076 100644 (file)
@@ -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} += " \