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:
parent
3ff91126e6
commit
9eefa845a2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user