dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
Guy Harris 4da1fd6159 Add a --additional-libs flag to pcap-config, to write out any additional
libraries needed to link with libpcap; this is to be used by tcpdump
when it's linking with ../libpcap/libpcap.a.
2009-05-22 16:04:25 -07:00
Guy Harris 91584dc5c5 By default, don't include DEPLIBS in the libraries flags, as a
dynamically-linked libpcap should have been linked with them (if there
are any of them), so it shouldn't be necessary for a program or library
to explicitly link with them if it links with libpcap.

Add a -static flag that includes DEPLIBS, as, on most if not all
platforms, static libraries can't be linked with dynamic libraries, so
programs would have to link with libraries on which libpcap depends if
it links statically with libpcap.

If both --cflags and --libs are given, print both sets of flags, on the
same line (as pkg-config does).
2009-03-27 00:41:53 -07:00
guy ad68762c8e Add a pcap-config script, to handle necessary -I/-L flags and any
libraries required by libpcap.
2008-09-23 18:04:01 +00:00