summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-13 23:14:24 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-11-18 20:42:06 +0100
commit7c11c424181e8178c66e278545a5b0af3fe58529 (patch)
tree27479baeec93ac8c8db6138085fe1fe7eee9026e
parent89fcb4cdb4bd4b70819329d21d5dd967ce810483 (diff)
downloadbuildroot-7c11c424181e8178c66e278545a5b0af3fe58529.tar.gz
buildroot-7c11c424181e8178c66e278545a5b0af3fe58529.zip
wireshark: fix static build with snappy
Fixes: - http://autobuild.buildroot.org/results/9089e74c0f8428d28953ae037a84aa8a08db7ded Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wireshark/wireshark.mk3
1 files changed, 3 insertions, 0 deletions
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
OpenPOWER on IntegriCloud