Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] bluez5_utils: not for static builds
@ 2014-10-28 17:02 Gustavo Zacarias
  2014-10-28 17:13 ` Vicente Olivert Riera
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-10-28 17:02 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/bluez5_utils/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index ec1352f..a374f92 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -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"
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] bluez5_utils: not for static builds
  2014-10-28 17:02 [Buildroot] [PATCH] bluez5_utils: not for static builds Gustavo Zacarias
@ 2014-10-28 17:13 ` Vicente Olivert Riera
  0 siblings, 0 replies; 2+ messages in thread
From: Vicente Olivert Riera @ 2014-10-28 17:13 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On 10/28/2014 05:02 PM, Gustavo Zacarias wrote:
> Disable for static builds, it uses dlfcn. Fixes:
> http://autobuild.buildroot.net/results/7cd/7cd87c9e9b8b41ee01413050e554b5422d207e70/
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>   package/bluez5_utils/Config.in | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
> index ec1352f..a374f92 100644
> --- a/package/bluez5_utils/Config.in
> +++ b/package/bluez5_utils/Config.in
> @@ -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"
>

Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

-- 
Vicente Olivert Riera
Graduate Software Engineer, MIPS Processor IP
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-28 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 17:02 [Buildroot] [PATCH] bluez5_utils: not for static builds Gustavo Zacarias
2014-10-28 17:13 ` Vicente Olivert Riera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox