diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-07 15:03:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-07 15:03:24 +0900 |
commit | 21f006f5f7c161fd3857f69186e810f1958bd7f0 (patch) | |
tree | 4cc75335f1c507474e95d73c248c0af2761100cd /template | |
parent | 5af507f527d8d83eb3e68fd8b701f7febe0b2e96 (diff) | |
download | ruby-21f006f5f7c161fd3857f69186e810f1958bd7f0.tar.gz |
Retrieve previously configured macros also other than `extensions`
Diffstat (limited to 'template')
-rw-r--r-- | template/exts.mk.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl index e544c4c88b..c5f8478d76 100644 --- a/template/exts.mk.tmpl +++ b/template/exts.mk.tmpl @@ -30,7 +30,6 @@ Dir.glob("{ext,.bundle/gems}/*/exts.mk") do |e| s.scan(/^(extensions|SUBMAKEOPTS|EXT[A-Z]+|MFLAGS|NOTE_[A-Z]+)[ \t]*=[ \t]*(#{contpat})$/o) do |n, v| v.gsub!(/\\\n[ \t]*/, ' ') next if v.empty? - next if n != "extensions" n = "old_extensions" if n == "extensions" and !confexts.include?(e) v = v.split m = macros[n] ||= [] |