From 47cb0c967f7c825e02e66d1df26ff9e893bf5235 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 2 Mar 2023 18:53:50 +0100 Subject: [PATCH] package/gensio: add C++ optional dependency C++ is available since 2.3.0 and https://github.com/cminyard/gensio/commit/3fda483f15a2668f9e2396517cdbf09693e6e3ff Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/gensio/gensio.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk index 3374313c0f..2ba1b950d7 100644 --- a/package/gensio/gensio.mk +++ b/package/gensio/gensio.mk @@ -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