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