package/gensio: use mdns option

mdns option is available since version 2.4.0 and
0b56fdd820

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2023-03-02 18:53:49 +01:00
committed by Peter Korsgaard
parent a69ecf0e89
commit 847ac3d9c8

View File

@@ -9,7 +9,6 @@ GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
GENSIO_LICENSE_FILES = COPYING.LIB COPYING
GENSIO_INSTALL_STAGING = YES
GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
GENSIO_CONF_OPTS = \
--without-swig \
--without-python
@@ -21,6 +20,13 @@ else
GENSIO_CONF_OPTS += --without-alsa
endif
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
GENSIO_DEPENDENCIES += avahi
GENSIO_CONF_OPTS += --with-mdns
else
GENSIO_CONF_OPTS += --without-mdns
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
GENSIO_DEPENDENCIES += host-pkgconf libglib2
GENSIO_CONF_OPTS += --with-glib