Skip to contentSkip to conversation

autofs: not available on static

PATCH New Gustavo Zacarias 2 participants 2 messages Dec 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autofs: not available on static

Uses dlfcn & friends, fixes:
http://autobuild.buildroot.net/results/2f2/2f2dcf8d2af961c0401a4b39f96cefe691a4479b/

---
 package/autofs/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/autofs/Config.in +4 -2
index 2933740..dbe6674 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_AUTOFS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	depends on !BR2_STATIC_LIBS # dlfcn
 	help
 	  Autofs controls the operation of the automount daemons. The
 	  automount daemons automatically mount filesystems when they
@@ -14,6 +15,7 @@ config BR2_PACKAGE_AUTOFS
 
 	  http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html
 
-comment "autofs needs a toolchain w/ threads, RPC"
+comment "autofs needs a toolchain w/ threads, RPC, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_HAS_NATIVE_RPC
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 autofs: not available on static

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

Uses dlfcn & friends, fixes:
http://autobuild.buildroot.net/results/2f2/2f2dcf8d2af961c0401a4b39f96cefe691a4479b/

---
 package/autofs/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com