Skip to contentSkip to conversation

bluez5_utils: not for static builds

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5_utils: not for static builds

Disable for static builds, it uses dlfcn. Fixes:
http://autobuild.buildroot.net/results/7cd/7cd87c9e9b8b41ee01413050e554b5422d207e70/

---
 package/bluez5_utils/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/bluez5_utils/Config.in +4 -2
index ec1352f..a374f92 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	depends on BR2_INET_IPV6
+	depends on !BR2_PREFER_STATIC_LIB # uses dlfcn
 	depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
 	select BR2_PACKAGE_DBUS
@@ -62,9 +63,10 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST
 
 endif
 
-comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4"
+comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4, dynamic library"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+		!BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
+		BR2_PREFER_STATIC_LIB
 	depends on BR2_USE_MMU
 
 comment "bluez5-utils conflicts with older bluez-utils version"
Signature · 1 line
2.0.4
#1 lore raw

PATCH 1/1 bluez5_utils: not for static builds

Dear Gustavo Zacarias,

Quoted 24 lines · Gustavo Zacarias

Disable for static builds, it uses dlfcn. Fixes:
http://autobuild.buildroot.net/results/7cd/7cd87c9e9b8b41ee01413050e554b5422d207e70/

---
  package/bluez5_utils/Config.in | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
package/bluez5_utils/Config.in +1 -0
index ec1352f..a374f92 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS
  	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
  	depends on BR2_USE_MMU # dbus
  	depends on BR2_INET_IPV6
+	depends on !BR2_PREFER_STATIC_LIB # uses dlfcn
  	depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  	select BR2_PACKAGE_DBUS
@@ -62,9 +63,10 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST
 
  endif

package/bluez5_utils/Config.in config BR2_PACKAGE_BLUEZ5_UTILS_TEST · line 72

Quoted 10 lines
package/bluez5_utils/Config.in +3 -2
 
-comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4"
+comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4, dynamic library"
  	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+		!BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
+		BR2_PREFER_STATIC_LIB
  	depends on BR2_USE_MMU
 
  comment "bluez5-utils conflicts with older bluez-utils version"
Signature · 5 lines
Vicente Olivert Riera
Graduate Software Engineer, MIPS Processor IP
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com