mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
both 2.2.1 and 2.2.2 are failing on some hosts native builds with: | linking miniruby | load.o: In function `rb_f_load': | load.c:(.text+0x3af): undefined reference to `RUBY_DTRACE_LOAD_ENTRY_ENABLED' | load.c:(.text+0x428): undefined reference to `RUBY_DTRACE_LOAD_RETURN_ENABLED' | load.c:(.text+0x452): undefined reference to `RUBY_DTRACE_LOAD_RETURN' | load.c:(.text+0x492): undefined reference to `RUBY_DTRACE_LOAD_ENTRY' | load.o: In function `rb_require_internal': Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
41 lines
1.1 KiB
BlitzBasic
41 lines
1.1 KiB
BlitzBasic
require ruby.inc
|
|
|
|
SRC_URI[md5sum] = "b49fc67a834e4f77249eb73eecffb1c9"
|
|
SRC_URI[sha256sum] = "5a4de38068eca8919cb087d338c0c2e3d72c9382c804fb27ab746e6c7819ab28"
|
|
|
|
# it's unknown to configure script, but then passed to extconf.rb
|
|
# maybe it's not really needed as we're hardcoding the result with
|
|
# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
|
|
UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
|
|
PACKAGECONFIG[gpm] = "--with-gmp=yes, --with-gmp=no, gmp"
|
|
|
|
EXTRA_OECONF = "\
|
|
--enable-wide-getaddrinfo \
|
|
--disable-versioned-paths \
|
|
--disable-rpath \
|
|
--disable-dtrace \
|
|
--enable-shared \
|
|
--enable-load-relative \
|
|
"
|
|
|
|
EXTRA_OEMAKE = " \
|
|
LIBRUBYARG='-lruby-static' \
|
|
"
|
|
|
|
do_install() {
|
|
oe_runmake 'DESTDIR=${D}' install
|
|
}
|
|
|
|
FILES_${PN} += "${datadir}/rubygems \
|
|
${datadir}/ri"
|
|
|
|
FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \
|
|
${libdir}/ruby/*/*/.debug \
|
|
${libdir}/ruby/*/*/*/.debug \
|
|
${libdir}/ruby/*/*/*/*/.debug"
|
|
|
|
BBCLASSEXTEND = "native"
|