summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-07-24 22:19:01 +0900
committerNobuyoshi Nakada <[email protected]>2022-07-24 22:32:07 +0900
commit6af7212004c0b98f09350b53a032f94f3a1e666c ()
tree1699d2ba7cc2ef9c614155929b94566ea0800514 /ext/extmk.rb
parente0a7e5e13141a06103673b9d4ff21ca864ec38f9 (diff)
Make extensions under `Gem.extension_api_version` directory
Notes: Merged: https://.com/ruby/ruby/pull/6174
-rwxr-xr-xext/extmk.rb3
1 files changed, 2 insertions, 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"\
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
}
end