libpcap: fix static build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 28 Nov 2012 04:42:38 +0000 (04:42 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Nov 2012 18:58:46 +0000 (10:58 -0800)
commitde75da8b13e53f995811a48316882efd753d428d
treef81d06be7fec4d256125b4ada9aa3a5b1c9e012e
parent9e12a985a118c3157d74857e395c4af5b153db84
libpcap: fix static build

The libpcap package contained some interesting attempts to support a
static-only build, but it was not working:

 http://autobuild.buildroot.org/results/01038d3b970092d894d2bae80679247e65722785/build-end.log

In fact the configure.in of libpcap has provision to support
--enable-shared/--disable-shared, but the generated configure script
in the libpcap package has not been regenerated with the configure.in
changes.

So basically, enabling LIBPCAP_AUTORECONF=YES ensures that the
configure script gets generated, which brings us a working
--enable-shared / --disable-shared.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libpcap/libpcap.mk