diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-01 05:54:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-01 05:54:25 +0000 |
commit | 23819ba46addef53e57cc4f5e21743ebb5917d36 (patch) | |
tree | 902d693c4110fd758526313e07cc1c52082eb0f3 | |
parent | 849d9dc7e06fe1abc072860464a649526e165041 (diff) | |
download | ruby-23819ba46addef53e57cc4f5e21743ebb5917d36.tar.gz |
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
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 4e69f765fb..ae0974670c 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 |