[oe] [meta-oe][PATCH 1/2] ruby: find gems relative to its own location
Christopher Larson
kergoth at gmail.com
Wed Nov 27 17:50:19 UTC 2013
Rather than hardcoding ${datadir}/rubygems, we can let it find the gems
relative to its own location, to make it relocatable.
Signed-off-by: Christopher Larson <kergoth at gmail.com>
---
meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
index de51f2f..883bb98 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
@@ -17,10 +17,10 @@ SRC_URI[sha256sum] = "d192d1afc46a7ef27b9d0a3c7a67b509048984db2c38907aa82641bdf9
EXTRA_OECONF = "\
--enable-wide-getaddrinfo \
- --with-rubygemsdir=${datadir}/rubygems \
--disable-versioned-paths \
--disable-rpath \
--enable-shared \
+ --enable-load-relative \
"
EXTRA_OEMAKE = " \
--
1.8.3.4
More information about the Openembedded-devel
mailing list