mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
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>
This commit is contained in:
@@ -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} "
|
||||
|
||||
Reference in New Issue
Block a user