mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mkmf.rb: fix up r56053
* lib/mkmf.rb (timestamp_file): TARGET_SO_DIR is defaulted to RUBYARCHDIR but different for each extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
68d5d0f372
commit
e3590ddb86
1 changed files with 1 additions and 1 deletions
|
@ -2019,7 +2019,7 @@ preload = #{defined?($preload) && $preload ? $preload.join(' ') : ''}
|
|||
end
|
||||
|
||||
def timestamp_file(name, target_prefix = nil)
|
||||
pat = {}
|
||||
pat = {'TARGET_SO_DIR'=>'$(RUBYARCHDIR)'}
|
||||
install_dirs.each do |n, d|
|
||||
pat[n] = $` if /\$\(target_prefix\)\z/ =~ d
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue