Skip to contentSkip to conversation

wireshark: fix static build with snappy

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 13, 2018 – Nov 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireshark: fix static build with snappy

Fixes:
- http://autobuild.buildroot.org/results/9089e74c0f8428d28953ae037a84aa8a08db7ded

---
 package/wireshark/wireshark.mk | 3 +++
 1 file changed, 3 insertions(+)
package/wireshark/wireshark.mk +3 -0
index 7c7dc784fe..4720960e59 100644
@@ -138,6 +138,9 @@ endif
 ifeq ($(BR2_PACKAGE_SNAPPY),y)
 WIRESHARK_CONF_OPTS += --with-snappy=$(STAGING_DIR)/usr
 WIRESHARK_DEPENDENCIES += snappy
+ifeq ($(BR2_STATIC_LIBS),y)
+WIRESHARK_CONF_ENV += LIBS=-lstdc++
+endif
 else
 WIRESHARK_CONF_OPTS += --without-snappy
 endif
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 wireshark: fix static build with snappy

Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Fixes:
- http://autobuild.buildroot.org/results/9089e74c0f8428d28953ae037a84aa8a08db7ded

---
 package/wireshark/wireshark.mk | 3 +++
 1 file changed, 3 insertions(+)
package/wireshark/wireshark.mk +0 -0
index 7c7dc784fe..4720960e59 100644

package/wireshark/wireshark.mk endif · line 142

Quoted 5 lines
package/wireshark/wireshark.mk +2 -0
@@ -138,6 +138,9 @@ endif
 ifeq ($(BR2_PACKAGE_SNAPPY),y)
 WIRESHARK_CONF_OPTS += --with-snappy=$(STAGING_DIR)/usr
 WIRESHARK_DEPENDENCIES += snappy
+ifeq ($(BR2_STATIC_LIBS),y)
+WIRESHARK_CONF_ENV += LIBS=-lstdc++

This isn't really nice, but as long as snappy doesn't provide a .pc file I guess we cannot do much else. Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard