diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-10-29 18:43:23 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-10-29 18:43:23 +0000 |
commit | a0ee43a18de124b6cc4cb968bde5382f17660175 (patch) | |
tree | 99c17a1bdbff3dabc0f310509b912bf2775d2145 /contrib/libpcap/pcap-config.1 | |
parent | 09b6dcf968623e535555dc0543661a32cdd553ba (diff) | |
parent | e89167f07a9ca239491071320fd6d010e183107e (diff) | |
download | src-a0ee43a18de124b6cc4cb968bde5382f17660175.tar.gz src-a0ee43a18de124b6cc4cb968bde5382f17660175.zip |
Merge libpcap-1.1.1.
Notes
Notes:
svn path=/head/; revision=214518
Diffstat (limited to 'contrib/libpcap/pcap-config.1')
-rw-r--r-- | contrib/libpcap/pcap-config.1 | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/contrib/libpcap/pcap-config.1 b/contrib/libpcap/pcap-config.1 index a99b379124e2..021f4504c087 100644 --- a/contrib/libpcap/pcap-config.1 +++ b/contrib/libpcap/pcap-config.1 @@ -1,4 +1,4 @@ -.\" @(#) $Header: /tcpdump/master/libpcap/pcap-config.1,v 1.1.2.2 2008-09-23 18:06:01 guy Exp $ (LBL) +.\" @(#) $Header: /tcpdump/master/libpcap/pcap-config.1,v 1.1 2008-09-23 18:04:01 guy Exp $ (LBL) .\" .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997 .\" The Regents of the University of California. All rights reserved. @@ -20,14 +20,17 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP-CONFIG 1 "23 September 2008" +.TH PCAP-CONFIG 1 "26 March 2009" .SH NAME pcap-config \- write libpcap compiler and linker flags to standard output .SH SYNOPSIS .na .B pcap-config [ -.B \-\-cflags | \-\-libs +.B \-\-static +] +[ +.B \-\-cflags | \-\-libs | \-\-additional-libs ] .ad .SH DESCRIPTION @@ -47,8 +50,25 @@ writes to the standard output the .B \-L and .B \-l -linker required to link with libpcap, including +linker flags required to link with libpcap, including .B \-l flags for libraries required by libpcap. +When run with the +.B \-\-additional-libs +option, +.I pcap-config +writes to the standard output the +.B \-L +and +.B \-l +flags for libraries required by libpcap, but not the +.B \-lpcap +flag to link with libpcap itself. +.LP +By default, it writes flags appropriate for compiling with a +dynamically-linked version of libpcap; the +.B \-\-static +flag causes it to write flags appropriate for compiling with a +statically-linked version of libpcap. .SH "SEE ALSO" pcap(3PCAP) |