mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 09:33:59 +02:00
* 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:
parent
6e8c346abc
commit
c07c5e1e9f
2 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
Thu Jun 17 17:30:00 2010 Kenta Murata <mrkn@mrkn.jp>
|
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.
|
* ext/digest/sha2/extconf.rb: remove a check for uint64_t.
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
require 'digest'
|
require 'digest'
|
||||||
require 'digest/sha2.so'
|
begin
|
||||||
|
require 'digest/sha2.so'
|
||||||
|
rescue LoadError
|
||||||
|
require 'digest/sha2.bundle'
|
||||||
|
end
|
||||||
|
|
||||||
module Digest
|
module Digest
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue