reaver: fix static link build issue
authorGuillaume W. Bres <guillaume.bressaix@gmail.com>
Sun, 22 Apr 2018 15:51:59 +0000 (17:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Apr 2018 20:21:46 +0000 (22:21 +0200)
commit559416ffe2039d1cac94e348bd28e963adf008a4
tree5b934e6a40333102cb94088f520eabb0afdba801
parentb95d260a93aa334b9333083d93f6de837cbb170d
reaver: fix static link build issue

When libpcap itself is linked against other libraries, reaver fails to
build as it doesn't link with libpcap dependencies. This patch fixes
that by using the pcap-config program.

Fixes:

  http://autobuild.buildroot.net/results/899fd633288d5cd5aa221413cded857e4f743194/

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/reaver/reaver.mk