aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nspr/nspr_4.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/nspr/nspr_4.12.bb')
-rw-r--r--meta/recipes-support/nspr/nspr_4.12.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.12.bb b/meta/recipes-support/nspr/nspr_4.12.bb
index 168341bc05c..fa6d52357d6 100644
--- a/meta/recipes-support/nspr/nspr_4.12.bb
+++ b/meta/recipes-support/nspr/nspr_4.12.bb
@@ -147,6 +147,9 @@ TESTS = " \
inherit autotools
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
do_compile_prepend() {
oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export
}