From: Otavio Salvador Date: Fri, 18 Dec 2015 16:47:44 +0000 (-0200) Subject: util-linux: Fix floating dependency upon 'readline' X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27881 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574b84132df61d421d2f99e14bdc94649fe83e38;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index cf321c62b26..fb384e11bc2 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-*.*"