ruby-changes:43991
From: nobu <ko1@a...>
Date: Sun, 4 Sep 2016 13:44:13 +0900 (JST)
Subject: [ruby-changes:43991] nobu:r56064 (trunk): extmk.rb: append target_prefix
nobu 2016-09-04 13:44:06 +0900 (Sun, 04 Sep 2016) New Revision: 56064 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56064 Log: extmk.rb: append target_prefix * ext/extmk.rb (timestamp_file, create_makefile): should append target_prefix as RUBYARCHDIR does. Modified files: trunk/ext/extmk.rb Index: ext/extmk.rb =================================================================== --- ext/extmk.rb (revision 56063) +++ ext/extmk.rb (revision 56064) @@ -576,7 +576,7 @@ Dir.chdir('gems') https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L576 extout = $extout unless gems.empty? def self.timestamp_file(name, target_prefix = nil) - name = "$(arch)/gems/#{@gemname}" if name == '$(TARGET_SO_DIR)' + name = "$(arch)/gems/#{@gemname}$(target_prefix)" if name == '$(TARGET_SO_DIR)' super end @@ -584,7 +584,7 @@ unless gems.empty? https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L584 super(*args) do |conf| conf.find do |s| s.sub!(/^(TARGET_SO_DIR *= *)\$\(RUBYARCHDIR\)/) { - "#{$1}$(extout)/gems/$(arch)/#{@gemname}" + "#{$1}$(extout)/gems/$(arch)/#{@gemname}$(target_prefix)" } end conf << %{ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/