diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-01-23 14:17:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-23 14:17:40 +0900 |
commit | a7dfd0c69f3d16b04141fa82632405c59e2b702e (patch) | |
tree | 1829e033fd491e06fe17a6771cb39aa0d8f9e52e | |
parent | 7d25007bbbd5768b82e55b115b3ac4cc8f983d87 (diff) |
Yield from `create_makefile` in bundled gems too
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12618
-rwxr-xr-x | ext/extmk.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 5b8224235d..f1fe814792 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -584,6 +584,8 @@ extend Module.new { } end + conf = yield conf if block + if conf.any? {|s| /^TARGET *= *\S/ =~ s} conf << %{ gem_platform = #{Gem::Platform.local} |