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>
This commit is contained in:
Christopher Larson
2013-11-27 10:50:19 -07:00
committed by Martin Jansa
parent 1ca29d1cda
commit 793c1c08cf

View File

@@ -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 = " \