Message ID | 20181113221424.6607-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Commit | 7c11c424181e8178c66e278545a5b0af3fe58529 |
Headers | show |
Series | [1/1] wireshark: fix static build with snappy | expand |
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > Fixes: > - http://autobuild.buildroot.org/results/9089e74c0f8428d28953ae037a84aa8a08db7ded > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > --- > package/wireshark/wireshark.mk | 3 +++ > 1 file changed, 3 insertions(+) > 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++ 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.
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
Fixes: - http://autobuild.buildroot.org/results/9089e74c0f8428d28953ae037a84aa8a08db7ded Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/wireshark/wireshark.mk | 3 +++ 1 file changed, 3 insertions(+)