pcap-conf

A simple library designed to be used as a build dependency to determine the location and flags required to use libpcap from a Cargo project. Made because libpcap doesn't come with a pkg-config file and does include the pcap-config executable to accomplish the same goal. Inspired by [alexcrichton/pkg-config-rs].

```rust extern crate pcap_config;

fn main() { pcapconfig::findlibrary().unwrap(); } ```