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 | |
parent | 03c6fd0caab0ea8dcc2e0c3ab827a287a4f36910 (diff) | |
download | ast2050-yocto-poky-391704dd969356d45ac828e8815dc6ba1d6273f5.zip ast2050-yocto-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>
-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 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 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} " |