Skip to contentSkip to conversation

connman: disable for static builds

PATCH New Vicente Olivert Riera 2 participants 4 messages Nov 10, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 connman: disable for static builds

It needs dlopen(), otherwise it will fail at the configure phase with a message like this one:

checking for dlopen in -ldl... no
configure: error: dynamic linking loader is required

Fixes:
http://autobuild.buildroot.net/results/647/64742a1d3a07f86a7c801da5ef30892c1f760031/

---
 package/connman/Config.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
package/connman/Config.in +3 -2
index 8803aeb..63d50b4 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_CONNMAN
 	depends on BR2_INET_IPV6
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus, libglib2
+	depends on !BR2_PREFER_STATIC_LIB # needs dlopen()
 	help
 	  The Connection Manager (ConnMan) project provides a daemon
 	  for managing internet connections within embedded devices
@@ -65,6 +66,6 @@ config BR2_PACKAGE_CONNMAN_CLIENT
 
 endif # BR2_PACKAGE_CONNMAN
 
-comment "connman needs a toolchain w/ IPv6, wchar, threads, resolver"
+comment "connman needs a toolchain w/ IPv6, wchar, threads, resolver, dynamic library"
 	depends on BR2_USE_MMU && !BR2_avr32
-	depends on !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 connman: rename patches to follow the new name structure

---
 ...backtrace.patch => 0001-uclibc-backtrace.patch} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename package/connman/{connman-000-uclibc-backtrace.patch => 0001-uclibc-backtrace.patch} (100%)
package/connman/0001-uclibc-backtrace.patch renamed from package/connman/connman-000-uclibc-backtrace.patch +0 -0
similarity index 100%
rename from package/connman/connman-000-uclibc-backtrace.patch
rename to package/connman/0001-uclibc-backtrace.patch
Signature · 1 line
1.7.1
#3 lore raw

PATCH 1/2 connman: disable for static builds

In reply to Vicente Olivert Riera
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

It needs dlopen(), otherwise it will fail at the configure phase with a message like this one:

Quoted 7 lines

checking for dlopen in -ldl... no
configure: error: dynamic linking loader is required

Fixes:
http://autobuild.buildroot.net/results/647/64742a1d3a07f86a7c801da5ef30892c1f760031/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard