mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
znc: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
940a621f19
commit
20681efaff
@@ -21,6 +21,9 @@ S = "${WORKDIR}/git"
|
|||||||
|
|
||||||
inherit autotools-brokensep pkgconfig
|
inherit autotools-brokensep pkgconfig
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
|
||||||
|
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||||
|
|
||||||
# ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail
|
# ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
automake --add-missing || true
|
automake --add-missing || true
|
||||||
|
|||||||
Reference in New Issue
Block a user