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 cannot link statically

* ext/extmk.rb: exclude extension libraries not to be installed
  unless shared library is built, as they cannot be linked
  statically.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-05-21 04:46:00 +00:00
parent 5b629a7b8a
commit 108aa6143e

View file

@ -519,6 +519,9 @@ cond = proc {|ext, *|
}.find_all {|ext|
with_config(ext, &cond)
}.sort
if $LIBRUBYARG_SHARED.empty?
exts.delete_if {|d| File.fnmatch?("-*", d)}
end
end
if $extout