Commit 2b773698 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

ruby: requires shared library



No matter what you do, the Ruby build system wants to use shared
libraries for the encoding modules. Therefore, this commit disallows
the selection of Ruby in BR2_PREFER_STATIC_LIB situations.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 134f51bf
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,10 +2,12 @@ config BR2_PACKAGE_RUBY
	bool "ruby"
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_PREFER_STATIC_LIB
	help
	  Object Oriented Scripting Language.

	  http://www.ruby-lang.org/

comment "ruby needs a toolchain w/ wchar, threads"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
comment "ruby needs a toolchain w/ wchar, threads, dynamic library"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_PREFER_STATIC_LIB