Skip to contentSkip to conversation

wireshark: fix static build

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireshark: fix static build

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

---
 package/wireshark/wireshark.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/wireshark/wireshark.mk +1 -1
index 6be0016af7..7c7dc784fe 100644
@@ -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)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 wireshark: fix static build

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard