C++ support is only needed for the example programs (that we don't build)
and C++ bindings.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
config BR2_PACKAGE_LIBCDIO
bool "libcdio"
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
- depends on BR2_INSTALL_LIBSTDCPP
help
The GNU Compact Disc Input and Control library.
http://www.gnu.org/software/libcdio/
-
-comment "libcdio needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
LIBCDIO_DEPENDENCIES += libiconv
endif
+ifeq ($(BR2_INSTALL_LIBSTDCPP),)
+LIBCDIO_CONF_OPT += --disable-cxx
+endif
+
ifeq ($(BR2_PACKAGE_NCURSES),y)
LIBCDIO_DEPENDENCIES += ncurses
else