diff options
-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 2cad5753ac..c5b41513bd 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -505,7 +505,7 @@ cond = proc {|ext, *| } incl.sort! excl.sort!.collect! {|d| d+"/"} - nil while incl.reject! {|d| excl << d+"/" if excl.any? {|e| d.start_with?(e)}} + nil while incl.reject! {|d| excl << d+"/" if excl.any? {|x| d.start_with?(x)}} exts |= incl if $LIBRUBYARG_SHARED.empty? and CONFIG["EXTSTATIC"] == "static" exts.delete_if {|d| File.fnmatch?("-*", d)} |