ranger: propagate python3 wchar dependency
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Nov 2015 08:08:10 +0000 (09:08 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Nov 2015 08:08:10 +0000 (09:08 +0100)
Fixes:
http://autobuild.buildroot.net/results/da1/da1a4cac055ab4b1a301cf719233ff00d1e793a2/
http://autobuild.buildroot.net/results/8bb/8bbfd91d1d972b5d382e7355a8a36ab532510745/
http://autobuild.buildroot.net/results/05c/05c7691c0cc1ef4cfa842643ab564a3958e66542/
http://autobuild.buildroot.net/results/dfd/dfdbb574708393b627b1244a627444478155c70f/

Python3 needs wchar, so ranger needs to depend on that as well before we can
safely select python3.

While we're at it, also add a comment about the toolchain dependencies.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ranger/Config.in

index 3d77107652d3b06302a4dabfab633a4147f0875c..ee0ffecd130d7ded98acf37b15f063798c48c4fb 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_RANGER
        bool "ranger"
        depends on BR2_USE_MMU # python3
+       depends on BR2_USE_WCHAR # python3
        depends on BR2_TOOLCHAIN_HAS_THREADS # python3
        depends on !BR2_STATIC_LIBS # python3
        select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
@@ -14,3 +15,7 @@ config BR2_PACKAGE_RANGER
          which program to use for what file type.
 
          http://ranger.nongnu.org
+
+comment "ranger needs a toolchain w/ wchar, threads, dynamic library"
+       depends on BR2_USE_MMU
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS