Guest User

Untitled

a guest
Apr 26th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. diff --git a/extconf.rb b/extconf.rb
  2. index e4274eb..3f138fb 100644
  3. --- a/extconf.rb
  4. +++ b/extconf.rb
  5. @@ -27,6 +27,8 @@ env = ""
  6. if RUBY_PLATFORM =~ /darwin10/
  7. other_opts = "--disable-dependency-tracking"
  8. env = "ARCHFLAGS='-arch x86_64'"
  9. +elsif RUBY_PLATFORM =~ /darwin9/
  10. + env = "ARCHFLAGS='-arch #{`uname -p`.chomp}'"
  11. end
  12.  
  13. system "#{env} sh configure --with-ruby=#{with_ruby} --prefix=#{prefix_dir} #{other_opts}"
Add Comment
Please, Sign In to add comment