]> The Tcpdump Group git mirrors - tcpdump/commit
configure: use pcap-config --static-pcap-only if available.
authorGuy Harris <[email protected]>
Fri, 30 Sep 2022 23:29:34 +0000 (16:29 -0700)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 6 Oct 2022 09:47:38 +0000 (11:47 +0200)
commit19929486312e33bbe44c027c60feefa6701092a0
tree4b15e040eeabcc7f4793240a787c8b65eb9f86a2
parent8c1154d1efd68b6e2da6a295068ec8405aa5143b
configure: use pcap-config --static-pcap-only if available.

If we're linking with a libpcap in ../libpcap*, it's static, but we only
need to link with the libraries on wich it immediately depends, we don't
need to link with the libraries on which those libraries depend, etc..

So, if ../libpcap*/pcap-config supports --static-pcap-only, use that.

(cherry picked from commit 2a6eaf16e165c292ed2ec11745e45a7c984497da)
aclocal.m4
configure