Commit 9eefa845 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libcdio: make C++ support optional



C++ support is only needed for the example programs (that we don't build)
and C++ bindings.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 3ff91126
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
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
+4 −0
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@ ifeq ($(BR2_ENABLE_LOCALE),)
LIBCDIO_DEPENDENCIES += libiconv
endif

ifeq ($(BR2_INSTALL_LIBSTDCPP),)
LIBCDIO_CONF_OPT += --disable-cxx
endif

ifeq ($(BR2_PACKAGE_NCURSES),y)
LIBCDIO_DEPENDENCIES += ncurses
else