package/wireshark: Fix libpcap detection
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 13 Dec 2015 09:16:24 +0000 (10:16 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Dec 2015 13:11:11 +0000 (14:11 +0100)
To reproduce the build error I had to install libpcap0.8-dev on my host
system, then wireshark configure picks up

checking for pcap-config... /usr/bin/pcap-config

and fails.

Fixes
http://autobuild.buildroot.net/results/7e3/7e363d18866057df0db3d0d95fa8d9116728f6ce//
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wireshark/wireshark.mk

index 534131be27644ad4c929eaa38bafb2061ed0f5b4..2b0669908a570dfaa2e06edbe55799fdbe34e75d 100644 (file)
@@ -24,6 +24,7 @@ WIRESHARK_CONF_OPTS = \
        --enable-static=no \
        --with-libsmi=no \
        --with-lua=no \
+       --with-pcap=$(STAGING_DIR)/usr \
        --includedir=$(STAGING_DIR)/usr/include
 
 # wireshark GUI options