diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 7c7dc784fe..4720960e59 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -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