From 3776138c7b3ccc031afcb014a5bf1f2c542ba88f Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 26 Feb 2013 00:16:41 +0000 Subject: [PATCH] libfuse: not available for static builds 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 Signed-off-by: Peter Korsgaard --- package/curlftpfs/Config.in | 5 +++-- package/libfuse/Config.in | 6 ++++-- package/sshfs/Config.in | 5 +++-- package/unionfs/Config.in | 5 +++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/package/curlftpfs/Config.in b/package/curlftpfs/Config.in index e946d0a73a..0d8e715a5e 100644 --- a/package/curlftpfs/Config.in +++ b/package/curlftpfs/Config.in @@ -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 diff --git a/package/libfuse/Config.in b/package/libfuse/Config.in index 5d308927f3..e42f9e0eef 100644 --- a/package/libfuse/Config.in +++ b/package/libfuse/Config.in @@ -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 diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in index 11b6bb9028..b6d5aa6d2f 100644 --- a/package/sshfs/Config.in +++ b/package/sshfs/Config.in @@ -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 diff --git a/package/unionfs/Config.in b/package/unionfs/Config.in index 2ac7be9c23..6ceee89e8e 100644 --- a/package/unionfs/Config.in +++ b/package/unionfs/Config.in @@ -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 -- 2.30.2