diff mbox series

[meta-oe,master,scarthgap,v2,2/5] opensc: Add 'readline' PACKAGECONFIG option

Message ID 20240821153416.650175-2-niko.mauno@vaisala.com
State Accepted
Headers show
Series [meta-oe,master,scarthgap,v2,1/5] opensc: Amend FILES:${PN} declaration | expand

Commit Message

Niko Mauno Aug. 21, 2024, 3:34 p.m. UTC
This helps us to also get rid of associated RDEPENDS declaration which
implicitly pulled readline to rootfs, even configure resolved readline
as not enabled.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta-oe/recipes-support/opensc/opensc_0.25.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/opensc/opensc_0.25.1.bb b/meta-oe/recipes-support/opensc/opensc_0.25.1.bb
index 145bbfe25..17dc62e19 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.25.1.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.25.1.bb
@@ -31,8 +31,7 @@  PACKAGECONFIG ??= "pcsc"
 
 PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
 PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib"
-
-RDEPENDS:${PN} = "readline"
+PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
 
 FILES:${PN} += "\
     ${libdir}/opensc-pkcs11.so \