* ext/digest/sha2/lib/sha2.rb: Darwin uses ".bundle", but not ".so", for the filename extension part of native libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mrkn 2010-06-17 08:39:41 +00:00
parent 6e8c346abc
commit c07c5e1e9f
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 17 17:32:00 2010 Kenta Murata <mrkn@mrkn.jp>
* ext/digest/sha2/lib/sha2.rb: Darwin uses ".bundle", but not ".so",
for the filename extension part of native libraries.
Thu Jun 17 17:30:00 2010 Kenta Murata <mrkn@mrkn.jp>
* ext/digest/sha2/extconf.rb: remove a check for uint64_t.

View file

@ -10,7 +10,11 @@
# $Id$
require 'digest'
begin
require 'digest/sha2.so'
rescue LoadError
require 'digest/sha2.bundle'
end
module Digest
#