From 574b84132df61d421d2f99e14bdc94649fe83e38 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 18 Dec 2015 14:47:44 -0200 Subject: util-linux: Fix floating dependency upon 'readline' The configure script checks for 'readline' availability and enables it, if available. Now, a PACKAGECONFIG (readline) controls the feature. Signed-off-by: Otavio Salvador Signed-off-by: Ross Burton --- meta/recipes-core/util-linux/util-linux.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index cf321c62b2..fb384e11bc 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc @@ -61,6 +61,9 @@ PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng," # Build python bindings for libmount PACKAGECONFIG[pylibmount] = "--with-python --enable-pylibmount,--without-python --disable-pylibmount,python" +# Readline support +PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" + FILES_${PN}-bash-completion += "${datadir}/bash-completion" FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" -- cgit v1.2.3