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:26:06 +0100 |
commit | 10d9c5858d0e63879df49c8d8572c04085349f42 (patch) | |
tree | 1e41d69e30953e491d791835eb26a73b1468cc2c /meta/recipes-connectivity/libpcap/libpcap.inc | |
parent | 846bc50fde11bbb36c8eb5b2e3ae6bb644c037f3 (diff) | |
download | openembedded-core-10d9c5858d0e63879df49c8d8572c04085349f42.tar.gz openembedded-core-10d9c5858d0e63879df49c8d8572c04085349f42.tar.bz2 openembedded-core-10d9c5858d0e63879df49c8d8572c04085349f42.zip |
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 <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/libpcap.inc')
-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 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} " |