diff --git a/package/elfutils/Config.in b/package/elfutils/Config.in index 9608ef4905..e866dd448b 100644 --- a/package/elfutils/Config.in +++ b/package/elfutils/Config.in @@ -24,11 +24,13 @@ if BR2_PACKAGE_ELFUTILS config BR2_PACKAGE_ELFUTILS_PROGS bool "Install programs" depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_INSTALL_LIBSTDCPP help This option tells elfutils to not only install the libelf libraries, but also the elfutils programs. -comment "elfutils programs needs a glibc toolchain" - depends on !BR2_TOOLCHAIN_USES_GLIBC +comment "elfutils programs needs a glibc toolchain w/ C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC \ + || !BR2_INSTALL_LIBSTDCPP endif