package/sigrok-cli: propagate BR2_ENABLE_LOCALE dependency of libsigrok

Since commit 922b82bde9 ("libsigrok:
bump version to 0.5.1"), libsigrok depends on BR2_ENABLE_LOCALE, but
this dependency was not propagated to sigrok-cli. This commit fixes
this issue.

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2018-12-31 15:57:03 +01:00
parent c16b2e2b50
commit 1099197b9e

View File

@ -8,6 +8,7 @@ config BR2_PACKAGE_SIGROK_CLI
depends on !BR2_STATIC_LIBS
# libsigrok
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
depends on BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBSIGROK
help
Sigrok-cli is a command-line frontend for the sigrok
@ -15,7 +16,8 @@ config BR2_PACKAGE_SIGROK_CLI
http://sigrok.org/wiki/Sigrok-cli
comment "sigrok-cli needs a toolchain w/ wchar, threads, dynamic library, gcc >= 4.7"
comment "sigrok-cli needs a toolchain w/ locale, wchar, threads, dynamic library, gcc >= 4.7"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS \
|| !BR2_ENABLE_LOCALE