mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Make extensions under Gem.extension_api_version
directory
This commit is contained in:
parent
e0a7e5e131
commit
6af7212004
Notes:
git
2022-07-24 23:34:13 +09:00
1 changed files with 2 additions and 1 deletions
|
@ -548,7 +548,8 @@ extend Module.new {
|
|||
"TARGET_TOPDIR = $(topdir)/.bundle\n" "#{$1}$(TARGET_TOPDIR)"
|
||||
}
|
||||
s.sub!(/^(TARGET_SO_DIR *= *)\$\(RUBYARCHDIR\)/) {
|
||||
"TARGET_GEM_DIR = $(TARGET_TOPDIR)/extensions/$(gem_platform)/$(ruby_version)/#{@gemname}\n"\
|
||||
"TARGET_GEM_DIR = $(TARGET_TOPDIR)/extensions/$(gem_platform)"\
|
||||
"/$(ruby_version)#{$enable_shared ? '' : '-static'}/#{@gemname}\n"\
|
||||
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue