Patchwork [1/2] beecrypt: needs threads support

login
register
mail settings
Submitter Gustavo Zacarias
Date July 4, 2012, 11:47 a.m.
Message ID <1341402434-30526-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/168959/
State Accepted
Commit f7ea7b227fc9c04fa85fd4a552ef9e5640abaf26
Headers show

Comments

Gustavo Zacarias - July 4, 2012, 11:47 a.m.
Fixes
http://autobuild.buildroot.net/results/e28e5dfe73d838b8bc4e9c586bc865d57d717f76/build-end.log

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/beecrypt/Config.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
Peter Korsgaard - July 4, 2012, 12:53 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Fixes
 Gustavo> http://autobuild.buildroot.net/results/e28e5dfe73d838b8bc4e9c586bc865d57d717f76/build-end.log

Committed both, thanks.

Patch

diff --git a/package/beecrypt/Config.in b/package/beecrypt/Config.in
index 2673877..19c7f2f 100644
--- a/package/beecrypt/Config.in
+++ b/package/beecrypt/Config.in
@@ -1,10 +1,14 @@ 
 config BR2_PACKAGE_BEECRYPT
 	bool "beecrypt"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ICU if BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR
 	help
 	  Beecrypt is a general-purpose cryptography library.
 
 	  http://beecrypt.sf.net
 
+comment "beecrypt needs a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 comment "beecrypt C++ support requires a toolchain with WCHAR enabled"
-	depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR
+	depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS