[Buildroot] [PATCH 24/67] libglade: libglib2 requires threads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 16 08:17:14 UTC 2013


Dear Spenser Gilliland,

On Mon, 15 Jul 2013 14:47:07 -0500, Spenser Gilliland wrote:
> 
> Signed-off-by: Spenser Gilliland <spenser at gillilanding.com>
> ---
>  package/libglade/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libglade/Config.in b/package/libglade/Config.in
> index f7a9a1c..d042517 100644
> --- a/package/libglade/Config.in
> +++ b/package/libglade/Config.in
> @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGLADE
>  	bool "libglade"
>  	depends on BR2_PACKAGE_LIBGTK2
>  	depends on BR2_USE_WCHAR # glib2
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
>  	select BR2_PACKAGE_LIBGLIB2
>  	select BR2_PACKAGE_ATK
>  	select BR2_PACKAGE_LIBXML2
> @@ -12,5 +13,6 @@ config BR2_PACKAGE_LIBGLADE
>  
>  	  http://ftp.gnome.org/pub/GNOME/sources/libglade/
>  
> -comment "libglade requires a toolchain with WCHAR support"
> -	depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
> +comment "libglade requires a toolchain with WCHAR and threading support"
> +	depends on BR2_PACKAGE_LIBGTK2 && \
> +		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)

I also believe this one is not needed, because there is already a
"depends on BR2_PACKAGE_LIBGTK2".

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list