aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ruby
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2013-11-27 10:50:19 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2013-12-05 19:48:07 +0100
commit793c1c08cf3ac826f775cecd2e9da0361edc821d (patch)
tree1c80bbc94cd2ff61bcb54af67c8b8a18e9a11b56 /meta-ruby
parent1ca29d1cda0d007c4e6a28fe1a4037b4029ad7ae (diff)
downloadmeta-openembedded-contrib-793c1c08cf3ac826f775cecd2e9da0361edc821d.tar.gz
meta-openembedded-contrib-793c1c08cf3ac826f775cecd2e9da0361edc821d.tar.bz2
meta-openembedded-contrib-793c1c08cf3ac826f775cecd2e9da0361edc821d.zip
ruby: find gems relative to its own location
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@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-ruby')
-rw-r--r--meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb2
1 files changed, 1 insertions, 1 deletions
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 de51f2f2d7..883bb98968 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 = " \