freebsd-skq/pcap-config.in

17 lines
235 B
Plaintext
Raw Normal View History

2009-03-21 20:43:56 +00:00
#! /bin/sh
#
# Script to give the appropriate compiler flags and linker flags
# to use when building code that uses libpcap.
#
case "$1" in
--cflags)
echo "-I @includedir@"
;;
--libs)
echo "-L @libdir@ -lpcap @DEPLIBS@"
;;
esac