mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Move timestamps directory for bundled gems
This commit is contained in:
parent
3aee94fb91
commit
dcbb94d5b9
1 changed files with 4 additions and 1 deletions
|
@ -537,8 +537,11 @@ extend Module.new {
|
||||||
return super unless @gemname
|
return super unless @gemname
|
||||||
super(*args) do |conf|
|
super(*args) do |conf|
|
||||||
conf.find do |s|
|
conf.find do |s|
|
||||||
|
s.sub!(/^(TIMESTAMP_DIR *= *)\$\(extout\)/) {
|
||||||
|
"TARGET_TOPDIR = $(topdir)/.bundle\n" "#{$1}$(TARGET_TOPDIR)"
|
||||||
|
}
|
||||||
s.sub!(/^(TARGET_SO_DIR *= *)\$\(RUBYARCHDIR\)/) {
|
s.sub!(/^(TARGET_SO_DIR *= *)\$\(RUBYARCHDIR\)/) {
|
||||||
"TARGET_GEM_DIR = $(topdir)/.bundle/extensions/$(gem_platform)/$(ruby_version)/#{@gemname}\n"\
|
"TARGET_GEM_DIR = $(TARGET_TOPDIR)/extensions/$(gem_platform)/$(ruby_version)/#{@gemname}\n"\
|
||||||
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
|
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue