1
0
Fork 0
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:
nobu 2014-05-22 14:34:56 +00:00
parent bfa4f32069
commit 057186a986

View file

@ -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