• Jason Wessel's avatar
    ruby-shadow: Work around cross compile gem problem · 9ed0aef7
    Jason Wessel authored
    
    
    Prior to this commit it is not possible to cross build a ruby gem.  In
    fact even on the x86 system the object files for the native gem are
    generated with the wrong compiler (the host compiler instead of the
    cross compiler).
    
    A better way to fix this in the future would be to use only gems that
    supported cross compile tool called rake.  For now the bbclass can
    modify the extconf.rb just before creating the gem and insert some
    code into the Makefile so as to honor the cross compile environment.
    Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
    9ed0aef7
ruby.bbclass 4.78 KB