tcpreplay: fix static link with libpcap
The tcpreplay configure script does not look for static libpcap.a unless
dynamic link is disabled.
Fixes:
http://autobuild.buildroot.net/results/e7e/
e7e7744ac0a22eded05f237e40b0cdaeec4ce005/
http://autobuild.buildroot.net/results/3e3/
3e33a67965eb37471ec3303ee26f6a66a82383a2/
http://autobuild.buildroot.net/results/fff/
fff0d6a814b765699cba803ececbc00d77e5d8fc/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>