1PCAP-CONFIG(1)              General Commands Manual             PCAP-CONFIG(1)
2
3
4

NAME

6       pcap-config  - write libpcap compiler and linker flags to standard out‐
7       put
8

SYNOPSIS

10       pcap-config [ --static ] [ --cflags | --libs | --additional-libs ]
11

DESCRIPTION

13       When run with the --cflags option, pcap-config writes to  the  standard
14       output  the  -I  compiler  flags  required  to include libpcap's header
15       files.  When run with the --libs  option,  pcap-config  writes  to  the
16       standard  output the -L and -l linker flags required to link with libp‐
17       cap, including -l flags for libraries required by  libpcap.   When  run
18       with  the  --additional-libs option, pcap-config writes to the standard
19       output the -L and -l flags for libraries required by libpcap,  but  not
20       the -lpcap flag to link with libpcap itself.
21
22       By  default,  it  writes flags appropriate for compiling with a dynami‐
23       cally-linked version of libpcap; the --static flag causes it  to  write
24       flags  appropriate  for  compiling  with a statically-linked version of
25       libpcap.
26

SEE ALSO

28       pcap(3PCAP)
29
30
31
32                               15 February 2015                 PCAP-CONFIG(1)
Impressum