kismet: Fix static build
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Fri, 26 Dec 2014 21:08:02 +0000 (22:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Dec 2014 10:29:13 +0000 (11:29 +0100)
commita3365ebf72fc34c71e28191f107280b9d7c825a1
tree0bb5206905631d74dfe3e397aff7042e4b4ea4d2
parent5aea55e0ee15ccab1021700c56bd17cbfd3f45a4
kismet: Fix static build

Use pcap-config to list optional libpcap dependencies needed for static
link. Otherwise we will see errors like this one:

/br/output/host/usr/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcap.a(pcap-canusb-linux.o):
In function `canusb_close':
pcap-canusb-linux.c:(.text+0xec): undefined reference to `libusb_close'

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[yann.morin.1998@free.fr: remove the ncurses bits (done differently in
 another patch), fix BR2_PREFER_STATIC_LIB -> BR2_STATIC_LIBS]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kismet/kismet.mk