diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-07-24 22:19:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-07-24 22:32:07 +0900 |
commit | 6af7212004c0b98f09350b53a032f94f3a1e666c () | |
tree | 1699d2ba7cc2ef9c614155929b94566ea0800514 /ext/extmk.rb | |
parent | e0a7e5e13141a06103673b9d4ff21ca864ec38f9 (diff) |
Make extensions under `Gem.extension_api_version` directory
Notes: Merged: https://.com/ruby/ruby/pull/6174
-rwxr-xr-x | ext/extmk.rb | 3 |
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 |