wireshark: fix static build
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 11 Nov 2018 19:23:42 +0000 (20:23 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 11 Nov 2018 20:26:23 +0000 (21:26 +0100)
Don't give a path in --with-pcap option otherwise PCAP_CONFIG won't be
used (see AC_WIRESHARK_PCAP_CHECK in acinclude.m4) to retrieve pcap
static dependencies such as -lnl-3 and as a result pcap detection will
fail

Fixes:
 - http://autobuild.buildroot.org/results/084354a33825cf4e723e0a9f1e9656ad2a212a15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wireshark/wireshark.mk

index 6be0016af748cf28979e0eb40126b2a6590c603e..7c7dc784feacc924d4e6c9989879f9864df747ba 100644 (file)
@@ -18,7 +18,7 @@ WIRESHARK_CONF_OPTS = \
        --disable-guides \
        --enable-static=no \
        --with-libsmi=no \
-       --with-pcap=$(STAGING_DIR)/usr
+       --with-pcap=yes
 
 # wireshark GUI options
 ifeq ($(BR2_PACKAGE_LIBGTK3),y)