package/sigrok-cli: propagate BR2_ENABLE_LOCALE dependency of libsigrok
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 14:57:03 +0000 (15:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 14:57:03 +0000 (15:57 +0100)
Since commit 922b82bde9d554237769c21e50f6c5b4f73f41a8 ("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>
package/sigrok-cli/Config.in

index 75bd8c6d5af85535d6fbad24bf5b9e6b71d61dac..df1cd95bedc02acc2f64b65c0a3de797506bd1c0 100644 (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