diff --git a/package/cifs-utils/Config.in b/package/cifs-utils/Config.in index 0e61243de4..f15d1e3dc4 100644 --- a/package/cifs-utils/Config.in +++ b/package/cifs-utils/Config.in @@ -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