tcpdump: use libpcap shared library
authorBaruch Siach <baruch@tkos.co.il>
Wed, 29 Oct 2014 12:20:21 +0000 (14:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 30 Oct 2014 20:56:13 +0000 (21:56 +0100)
commit746116d1eb2ec11f9d477e8fddfb41fc63ed86b6
tree5494439aa7ffdcdaa499baebabccc5dbd941233f
parentb42878a04746c8f17037922367f0cac47e3ee606
tcpdump: use libpcap shared library

Currently the tcpdump configure script finds libpcap.a in
output/build/libpcap-[version]. This check is hard coded in aclocal.m4. Add a
patch to optionally ignore local libpcap so that the system shared library
version is found instead. This reduces the tcpdump binary size in a few 100KB.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tcpdump/0001-Use-system-libpcap-when-configured-with-with-system-.patch [new file with mode: 0644]
package/tcpdump/tcpdump.mk