Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/extconf.rb b/extconf.rb
- index e4274eb..3f138fb 100644
- --- a/extconf.rb
- +++ b/extconf.rb
- @@ -27,6 +27,8 @@ env = ""
- if RUBY_PLATFORM =~ /darwin10/
- other_opts = "--disable-dependency-tracking"
- env = "ARCHFLAGS='-arch x86_64'"
- +elsif RUBY_PLATFORM =~ /darwin9/
- + env = "ARCHFLAGS='-arch #{`uname -p`.chomp}'"
- end
- system "#{env} sh configure --with-ruby=#{with_ruby} --prefix=#{prefix_dir} #{other_opts}"
Add Comment
Please, Sign In to add comment