wireshark: add libxml2 optional dependency

Optional dependency to libxml2 has been added with version 2.4.0 and
cfab5ef035

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2018-11-04 11:10:26 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 72bafd5e45
commit 7d7d57560c

View File

@ -17,7 +17,6 @@ WIRESHARK_CONF_ENV = \
WIRESHARK_CONF_OPTS = \
--enable-static=no \
--without-bcg729 \
--without-libxml2 \
--without-lz4 \
--without-nghttp2 \
--without-snappy \
@ -96,6 +95,13 @@ else
WIRESHARK_CONF_OPTS += --without-libssh
endif
ifeq ($(BR2_PACKAGE_LIBXML2),y)
WIRESHARK_CONF_OPTS += --with-libxml2
WIRESHARK_DEPENDENCIES += libxml2
else
WIRESHARK_CONF_OPTS += --without-libxml2
endif
# no support for lua53 yet
ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUA_5_2),y)
WIRESHARK_CONF_OPTS += --with-lua