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: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-01-27 22:05:45 +01:00
parent 3ff91126e6
commit 9eefa845a2
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,7 @@
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

View File

@ -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