diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-22 14:34:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-22 14:34:56 +0000 |
commit | 057186a986b80dc073730815eaecd28cd07c71c1 (patch) | |
tree | 4a7b60745e9875d1087dd15a79b82669f32bdce7 /ext/extmk.rb | |
parent | bfa4f32069a3ca8f0c50a71d8efba0ecfe6f05df (diff) | |
download | ruby-057186a986b80dc073730815eaecd28cd07c71c1.tar.gz |
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
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-x | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 62f93f06a6..464c84725b 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -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 |