aboutsummaryrefslogtreecommitdiffstats
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-23 02:18:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-23 02:18:59 +0000
commita726389219fc4640ceedb30a0e0a2e592243930c (patch)
tree7df492e7b608b8bcd75e939715006788d264f833 /ext/extmk.rb
parent447b2de2a379abfaef279b7c6b95de89b82ea1e5 (diff)
downloadruby-a726389219fc4640ceedb30a0e0a2e592243930c.tar.gz
extmk.rb: EXTINITS to sub make
* ext/extmk.rb: pass EXTINITS to sub make. if the template for extinit.c is modified after extinit.c got compiled, extinit.c will be re-generated together with ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 486712af47..977e0c991c 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -743,6 +743,7 @@ if $configure_only and $command_output
submakeopts << 'EXTLIBS="$(EXTLIBS)"'
end
submakeopts << 'EXTLDFLAGS="$(EXTLDFLAGS)"'
+ submakeopts << 'EXTINITS="$(EXTINITS)"'
submakeopts << 'UPDATE_LIBRARIES="$(UPDATE_LIBRARIES)"'
submakeopts << 'SHOWFLAGS='
mf.macro "SUBMAKEOPTS", submakeopts