freebsd-dev/contrib/libpcap/pcap-config.in
2009-03-21 22:58:08 +00:00

17 lines
235 B
Bash

#! /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