libfuse needs threads, fixes:
http://autobuild.buildroot.net/results/
0111a67b9ed5f5f5dfc0725d009ea5c756c1755c
[Peter: update sshfs/unionfs comments to match]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
 config BR2_PACKAGE_LIBFUSE
        bool "libfuse"
        depends on BR2_LARGEFILE
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          FUSE (Filesystem in UserSpacE)
 
          http://fuse.sourceforge.net/
 
-comment "libfuse requires a toolchain with LARGEFILE support"
-        depends on !BR2_LARGEFILE
+comment "libfuse requires a toolchain with LARGEFILE and threads support"
+        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
 
        select BR2_PACKAGE_OPENSSH
        depends on BR2_LARGEFILE
        depends on BR2_USE_WCHAR # glib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
        help
          FUSE filesystem client based on the SSH File Transfer Protocol.
 
          http://fuse.sourceforge.net/sshfs.html
 
-comment "sshfs requires a toolchain with LARGEFILE and WCHAR support"
-       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "sshfs requires a toolchain with LARGEFILE, WCHAR and threads support"
+       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
        bool "unionfs (FUSE)"
        select BR2_PACKAGE_LIBFUSE
        depends on BR2_LARGEFILE
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
        help
          A userspace unionfs implementation.
 
          http://podgorny.cz/moin/UnionFsFuse
 
-comment "unionfs requires a toolchain with LARGEFILE support"
-       depends on !BR2_LARGEFILE
+comment "unionfs requires a toolchain with LARGEFILE and threads support"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS