ruby: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 20 Nov 2013 16:12:51 +0000 (17:12 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 20 Nov 2013 16:23:08 +0000 (17:23 +0100)
Fixes:

   http://autobuild.buildroot.org/results/7c6/7c6cc07e360aa998957a48e834b8cc086282d716/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ruby/Config.in

index 9b505019cebb2b2834576dadb5e023ec1532470d..0de756ba9c38d32bcd1745a1e979bb1d3d35cd1b 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_RUBY
        bool "ruby"
        depends on BR2_USE_WCHAR
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          Object Oriented Scripting Language.
 
          http://www.ruby-lang.org/
 
-comment "ruby needs a toolchain w/ wchar"
-       depends on !BR2_USE_WCHAR
+comment "ruby needs a toolchain w/ wchar, threads"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS