Skip to contentSkip to conversation

bind: not available for static builds

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bind: not available for static builds

Fixes:
http://autobuild.buildroot.net/results/e27/e27111f484f72c77d2179fa1a29ea7b5271ff9fa/

While at it rename patches to new convention.

---
 .../bind/{bind-01-disable-tests.patch => 0001-disable-tests.patch}   | 0
 package/bind/{bind-02-cross.patch => 0002-cross.patch}               | 0
 package/bind/Config.in                                               | 5 +++--
 3 files changed, 3 insertions(+), 2 deletions(-)
 rename package/bind/{bind-01-disable-tests.patch => 0001-disable-tests.patch} (100%)
 rename package/bind/{bind-02-cross.patch => 0002-cross.patch} (100%)
package/bind/0001-disable-tests.patch renamed from package/bind/bind-01-disable-tests.patch +0 -0
similarity index 100%
rename from package/bind/bind-01-disable-tests.patch
rename to package/bind/0001-disable-tests.patch
package/bind/0002-cross.patch renamed from package/bind/bind-02-cross.patch +0 -0
similarity index 100%
rename from package/bind/bind-02-cross.patch
rename to package/bind/0002-cross.patch
package/bind/Config.in +3 -2
index 4f65e1c..8e3b824 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_BIND
 	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  BIND (Berkeley Internet Name Domain) is an implementation of
 	  the Domain Name System (DNS) protocols and provides an openly
@@ -38,6 +39,6 @@ config BR2_PACKAGE_BIND_TOOLS
 
 endif
 
-comment "bind needs a toolchain w/ largefile, IPv6"
+comment "bind needs a toolchain w/ largefile, IPv6, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !(BR2_LARGEFILE || BR2_INET_IPV6)
+	depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || BR2_PREFER_STATIC_LIB
Signature · 1 line
2.0.4