Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. ruby_do_compile() {
  2. if [ -f extconf.rb -a ! -f extconf.rb.orig ] ; then
  3. grep create_makefile extconf.rb > append2 || (exit 0)
  4. ruby_gen_extconf_fix
  5. cp extconf.rb extconf.rb.orig
  6. # Patch extconf.rb for cross compile
  7. cat append >> extconf.rb
  8. fi
  9. for gem in ${RUBY_BUILD_GEMS}; do
  10. ${RUBY_COMPILE_FLAGS} gem build $gem
  11. done
  12. if [ -f extconf.rb.orig ] ; then
  13. mv extconf.rb.orig extconf.rb
  14. fi
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement