mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg <greg.mpls@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4b1172833
commit
3fa8d5ba7b
2 changed files with 27 additions and 8 deletions
|
@ -21,7 +21,9 @@ def compile_extension(name)
|
|||
lib = "#{object_path}/#{ext}.#{RbConfig::CONFIG['DLEXT']}"
|
||||
ruby_header = "#{RbConfig::CONFIG['rubyhdrdir']}/ruby.h"
|
||||
libruby_so = RbConfig::CONFIG['LIBRUBY_SO'] if RbConfig::CONFIG["ENABLE_SHARED"] == "yes"
|
||||
|
||||
if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
libruby_so = RbConfig::CONFIG["LIBRUBY"] if RbConfig::CONFIG["ENABLE_SHARED"] == "yes"
|
||||
end
|
||||
begin
|
||||
mtime = File.mtime(lib)
|
||||
rescue Errno::ENOENT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue