package/gensio: add C++ optional dependency

C++ is available since 2.3.0 and
3fda483f15

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:50 +01:00 committed by Peter Korsgaard
parent 847ac3d9c8
commit 47cb0c967f

View File

@ -13,6 +13,12 @@ GENSIO_CONF_OPTS = \
--without-swig \
--without-python
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
GENSIO_CONF_OPTS += --with-cplusplus
else
GENSIO_CONF_OPTS += --without-cplusplus
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
GENSIO_DEPENDENCIES += alsa-lib
GENSIO_CONF_OPTS += --with-alsa