summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index d094891c5f7..62f93f06a62 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -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