mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
extmk.rb: fix for static-linked-ext
* ext/extmk.rb (extmake): fix up r57424 for static-linked-ext. separate maybestatic argument from basedir which is given always now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dbacbc440f
commit
3d5facc48f
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ def extract_makefile(makefile, keep = true)
|
|||
true
|
||||
end
|
||||
|
||||
def extmake(target, basedir = (maybestatic = 'ext'))
|
||||
def extmake(target, basedir = 'ext', maybestatic = true)
|
||||
unless $configure_only || verbose?
|
||||
print "#{$message} #{target}\n"
|
||||
$stdout.flush
|
||||
|
@ -590,7 +590,7 @@ exts.each do |d|
|
|||
$static = $force_static ? true : $static_ext[d]
|
||||
|
||||
if $ignore or !$nodynamic or $static
|
||||
result = extmake(d, ext_prefix) or abort
|
||||
result = extmake(d, ext_prefix, !@gemname) or abort
|
||||
extso |= $extso
|
||||
fails << result unless result == true
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue