mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
extmk.rb: non-installed extensions when statick-linked-ext
* ext/extmk.rb: exclude extension libraries not to be installed if `--with-statick-linked-ext` is set, not only shared library is not built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfa4f32069
commit
057186a986
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ cond = proc {|ext, *|
|
|||
}.find_all {|ext|
|
||||
with_config(ext, &cond)
|
||||
}.sort
|
||||
if $LIBRUBYARG_SHARED.empty?
|
||||
if $LIBRUBYARG_SHARED.empty? and CONFIG["EXTSTATIC"] == "static"
|
||||
exts.delete_if {|d| File.fnmatch?("-*", d)}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue