17 lines
235 B
Plaintext
17 lines
235 B
Plaintext
|
#! /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
|