summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 05:52:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 05:52:57 +0000
commitecb8b52f56f108ac93f0f470462f3a3cb697d91e (patch)
treee7929cae6c21074bfc30ab2939682e71c2dc3e4d /ext/extmk.rb
parent9ee25c70df7f761f1d182e82c749e524762ba788 (diff)
extmk.rb: fix extstatic
* ext/extmk.rb: fix variable name for --extstatic option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 97819ff..978095c 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -523,7 +523,7 @@ Dir::chdir('ext')
hdrdir = $hdrdir
$hdrdir = ($top_srcdir = relative_from(srcdir, $topdir = "..")) + "/include"
exts.each do |d|
- $static = $force_static ? true : $static_ext[target]
+ $static = $force_static ? true : $static_ext[d]
if $ignore or !$nodynamic or $static
extmake(d) or abort