summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap
diff options
context:
space:
mode:
authorHu Yadi <Yadi.hu@windriver.com>2014-06-16 13:49:19 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-17 11:28:49 (GMT)
commit391704dd969356d45ac828e8815dc6ba1d6273f5 (patch)
treee9f4b0d55c032ea9f9a263770e33f42df39042b4 /meta/recipes-connectivity/libpcap
parent03c6fd0caab0ea8dcc2e0c3ab827a287a4f36910 (diff)
downloadpoky-391704dd969356d45ac828e8815dc6ba1d6273f5.tar.gz
libpcap: Avoid libpcap build error when libnl1 is involved
Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1 (From OE-Core rev: 10d9c5858d0e63879df49c8d8572c04085349f42) Signed-off-by: Hu Yadi <Yadi.hu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 0ee7371..1a3c0c1 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -25,6 +25,9 @@ inherit autotools binconfig-disabled
25 25
26EXTRA_OECONF = "--with-pcap=linux" 26EXTRA_OECONF = "--with-pcap=linux"
27 27
28PACKAGECONFIG ??= ""
29PACKAGECONFIG[libnl1] = "--with-libnl,--without-libnl,libnl1,libnl1"
30
28CPPFLAGS_prepend = "-I${S} " 31CPPFLAGS_prepend = "-I${S} "
29CFLAGS_prepend = "-I${S} " 32CFLAGS_prepend = "-I${S} "
30CXXFLAGS_prepend = "-I${S} " 33CXXFLAGS_prepend = "-I${S} "