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:
parent
5b629a7b8a
commit
108aa6143e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue