diff options
author | Hu Yadi <Yadi.hu@windriver.com> | 2014-06-16 06:49:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-17 12:28:49 +0100 |
commit | 391704dd969356d45ac828e8815dc6ba1d6273f5 (patch) | |
tree | e9f4b0d55c032ea9f9a263770e33f42df39042b4 /meta/recipes-connectivity/libpcap | |
parent | 03c6fd0caab0ea8dcc2e0c3ab827a287a4f36910 (diff) | |
download | poky-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.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
25 | 25 | ||
26 | EXTRA_OECONF = "--with-pcap=linux" | 26 | EXTRA_OECONF = "--with-pcap=linux" |
27 | 27 | ||
28 | PACKAGECONFIG ??= "" | ||
29 | PACKAGECONFIG[libnl1] = "--with-libnl,--without-libnl,libnl1,libnl1" | ||
30 | |||
28 | CPPFLAGS_prepend = "-I${S} " | 31 | CPPFLAGS_prepend = "-I${S} " |
29 | CFLAGS_prepend = "-I${S} " | 32 | CFLAGS_prepend = "-I${S} " |
30 | CXXFLAGS_prepend = "-I${S} " | 33 | CXXFLAGS_prepend = "-I${S} " |