libfuse: not available for static builds
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 26 Feb 2013 00:16:41 +0000 (00:16 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 14 Apr 2013 21:11:06 +0000 (23:11 +0200)
Unfortunately libfuse uses dl functions exclusively so it can't be used
for static builds so exclude it so.
Fixes:
http://autobuild.buildroot.net/results/a1c3d2b9c436023675c363d9d3b365c95ade0329/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/curlftpfs/Config.in
package/libfuse/Config.in
package/sshfs/Config.in
package/unionfs/Config.in

index e946d0a73a6eee5cfdfdf9bb490e2e7ccd36323b..0d8e715a5e4a320b83f06189bf9476df2db29bad 100644 (file)
@@ -10,11 +10,12 @@ config BR2_PACKAGE_CURLFTPFS
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
        depends on BR2_USE_MMU # libfuse
+       depends on !BR2_PREFER_STATIC_LIB # libfuse
        help
          CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE
          and libcurl.
 
          http://curlftpfs.sourceforge.net/
 
-comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR and threads support"
-       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR, threads and dynamic library support"
+       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
index 5d308927f325004865b453f03b169cd6100d941b..e42f9e0eef8c8a979cfa445828522db3904a5dad 100644 (file)
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_LIBFUSE
        bool "libfuse"
+       # Really doesn't like static, see fuse/lib/fuse.c
+       depends on !BR2_PREFER_STATIC_LIB
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
@@ -8,5 +10,5 @@ config BR2_PACKAGE_LIBFUSE
 
          http://fuse.sourceforge.net/
 
-comment "libfuse requires a toolchain with LARGEFILE and threads support"
-        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libfuse requires a toolchain with LARGEFILE, threads and dyanmic library support"
+        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
index 11b6bb90287bf49bcf1a96af82b9edb37abe1e53..b6d5aa6d2f5df775d875fc326ba27c9e16e8ab12 100644 (file)
@@ -9,10 +9,11 @@ config BR2_PACKAGE_SSHFS
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
        depends on BR2_USE_MMU # libfuse
+       depends on !BR2_PREFER_STATIC_LIB # 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, WCHAR and threads support"
-       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+comment "sshfs requires a toolchain with LARGEFILE, WCHAR, threads and dynamic library support"
+       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
index 2ac7be9c233bbf3a8b1d7fb8ce1a9e154fe4f9fb..6ceee89e8eee0a2ff8f5b44cc003553dc9adb22c 100644 (file)
@@ -4,10 +4,11 @@ config BR2_PACKAGE_UNIONFS
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
        depends on BR2_USE_MMU # libfuse
+       depends on !BR2_PREFER_STATIC_LIB # libfuse
        help
          A userspace unionfs implementation.
 
          http://podgorny.cz/moin/UnionFsFuse
 
-comment "unionfs requires a toolchain with LARGEFILE and threads support"
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "unionfs requires a toolchain with LARGEFILE, threads and dynamic library support"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB