net/pcap: simplify dependency checking using meson
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 22 Feb 2018 17:20:33 +0000 (17:20 +0000)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 12 Mar 2018 15:29:27 +0000 (16:29 +0100)
commit6930c0403a1754eb5cab89577565eefa5a9995a1
tree10865d9141d12c185564a05f3d5f97fb9ba8a1e2
parent749799482a72b9a8e3574242920d2774d0ff1df1
net/pcap: simplify dependency checking using meson

Rather than trying to use meson's build-in detection for libpcap, and
having to special-case cross-building, just check for the presence of
pcap.h and the pcap library.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/pcap/meson.build