On 2017年05月24日 21:19, Kang Kai wrote:
On 2017年05月24日 17:33, [email protected] wrote:
From: Kai Kang <[email protected]>

Add package libcap-native required by recipe daq-native in layer
meta-networking. And daq-native is added to fix snort start error.

I just realize that it only needs daq-native provide a shell script, so libpcap-native may not be needed. I'll figure it out.
Please ignore this patch for now.

Unfortunately there is a var STATIC_LIBS in the shell script daq-modules-config from package daq-native which depends on configure options. If doesn't build with libpcap for daq-native, then no '-lpcap' in the output of the shell script daq-modules-config and build snort will fail.

So libpcap-native is needed indeed, and please help the review the patch, thanks.

BTW, the typo 'libcap-native' in commit message has been updated in poky-contrib git repo.

Thanks,
Kai



Thanks,
Kai


Signed-off-by: Kai Kang <[email protected]>
---
  meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 6635779..e57ea87 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -38,3 +38,5 @@ CXXFLAGS_prepend = "-I${S} "
  do_configure_prepend () {
      sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
  }
+
+BBCLASSEXTEND = "native"



--
Regards,
Neil | Kai Kang

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to