diff mbox

libtirpc: needs threads

Message ID 1378539885.24773.0.camel@phoenix
State Changes Requested
Headers show

Commit Message

Axel Lin Sept. 7, 2013, 7:44 a.m. UTC
Fixes:
http://autobuild.buildroot.net/results/250/25008a6f0a854e1e29a3340536eef817eeb5752e/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/libtirpc/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Sept. 12, 2013, 6:23 p.m. UTC | #1
Dear Axel Lin,

On Sat, 07 Sep 2013 15:44:45 +0800, Axel Lin wrote:
> Fixes:
> http://autobuild.buildroot.net/results/250/25008a6f0a854e1e29a3340536eef817eeb5752e/
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  package/libtirpc/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/libtirpc/Config.in b/package/libtirpc/Config.in
> index b9db5aa..a2dadce 100644
> --- a/package/libtirpc/Config.in
> +++ b/package/libtirpc/Config.in
> @@ -7,6 +7,7 @@ config BR2_PACKAGE_LIBTIRPC
>  	# used instead of libtirpc.
>  	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
>  		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	help
>  	  Libtirpc is a port of Sun's Transport-Independent RPC
>  	  library to Linux.

This doesn't work because there are packages that select
BR2_PACKAGE_LIBTIRPC, so the thread dependency should be propagated to
those packages.

Samuel already submitted such a patch a while ago
(http://patchwork.ozlabs.org/patch/244409/). It'd be good to refresh it
and resend.

Thomas
diff mbox

Patch

diff --git a/package/libtirpc/Config.in b/package/libtirpc/Config.in
index b9db5aa..a2dadce 100644
--- a/package/libtirpc/Config.in
+++ b/package/libtirpc/Config.in
@@ -7,6 +7,7 @@  config BR2_PACKAGE_LIBTIRPC
 	# used instead of libtirpc.
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
 		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Libtirpc is a port of Sun's Transport-Independent RPC
 	  library to Linux.