[Buildroot] [git commit branch/2019.02.x] package/ruby: enable openssl for host-ruby
Peter Korsgaard
peter at korsgaard.com
Wed Oct 30 12:44:05 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=254769c7809342b35e5719f85255756b10da5f45
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x
Openssl is required so that Gem can install ruby gems from secure websites.
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or
use non-HTTPS sources
Signed-off-by: Nicolas Carrier <nicolas.carrier at orolia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit ed5549b987ed35087b37828b6012a4155db31509)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/ruby/ruby.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index c3d021c381..1899d14797 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -10,12 +10,12 @@ RUBY_VERSION_EXT = 2.4.0
RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz
RUBY_DEPENDENCIES = host-pkgconf host-ruby
-HOST_RUBY_DEPENDENCIES = host-pkgconf
+HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems
HOST_RUBY_CONF_OPTS = \
--disable-install-doc \
- --with-out-ext=curses,openssl,readline \
+ --with-out-ext=curses,readline \
--without-gmp
RUBY_LICENSE = Ruby or BSD-2-Clause, BSD-3-Clause, others
RUBY_LICENSE_FILES = LEGAL COPYING BSDL
More information about the buildroot
mailing list