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