Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ruby_do_compile() {
- if [ -f extconf.rb -a ! -f extconf.rb.orig ] ; then
- grep create_makefile extconf.rb > append2 || (exit 0)
- ruby_gen_extconf_fix
- cp extconf.rb extconf.rb.orig
- # Patch extconf.rb for cross compile
- cat append >> extconf.rb
- fi
- for gem in ${RUBY_BUILD_GEMS}; do
- ${RUBY_COMPILE_FLAGS} gem build $gem
- done
- if [ -f extconf.rb.orig ] ; then
- mv extconf.rb.orig extconf.rb
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement