package/cifs-utils: add missing python dependencies
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 3 Apr 2021 13:23:49 +0000 (15:23 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 3 Apr 2021 14:51:03 +0000 (16:51 +0200)
Add missing python dependencies which have been forgotten when bumping
to version 6.12 in commit b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4

Fixes:
 - http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - dependencies are because of python3, not python
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/cifs-utils/Config.in

index 0e61243de48dabe43efd964edbe5c5ff3c717efc..f15d1e3dc4ef85639b2460d573fe5653dd66afdb 100644 (file)
@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS
 
 config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS
        bool "smbtools"
+       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 # runtime
        help
          Install the smb tools smbinfo and smb2-quota (python
          implementations).
 
+comment "smbtools needs a toolchain w/ wchar, threads, dynamic library"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
+
 endif