From 10d9c5858d0e63879df49c8d8572c04085349f42 Mon Sep 17 00:00:00 2001 From: Hu Yadi Date: Mon, 16 Jun 2014 06:49:19 -0700 Subject: libpcap: Avoid libpcap build error when libnl1 is involved Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1 Signed-off-by: Hu Yadi Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-connectivity/libpcap/libpcap.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-connectivity/libpcap') diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index 0ee7371d53..1a3c0c1e34 100644 --- a/meta/recipes-connectivity/libpcap/libpcap.inc +++ b/meta/recipes-connectivity/libpcap/libpcap.inc @@ -25,6 +25,9 @@ inherit autotools binconfig-disabled EXTRA_OECONF = "--with-pcap=linux" +PACKAGECONFIG ??= "" +PACKAGECONFIG[libnl1] = "--with-libnl,--without-libnl,libnl1,libnl1" + CPPFLAGS_prepend = "-I${S} " CFLAGS_prepend = "-I${S} " CXXFLAGS_prepend = "-I${S} " -- cgit v1.2.3