rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj 2017-06-30 05:59:55 -07:00 committed by Martin Jansa
parent cf75eaaac3
commit f5cab49989

View File

@ -14,6 +14,10 @@ PV = "0.9.6+git${SRCPV}"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
inherit autotools pkgconfig
do_configure_prepend() {