Simplify skip_executables option
This commit is contained in:
parent
b0fe8c3429
commit
097d5242c3
@ -73,8 +73,7 @@ class Keg
|
||||
# Note that this doesn't attempt to distinguish between libstdc++ versions,
|
||||
# for instance between Apple libstdc++ and GNU libstdc++
|
||||
def detect_cxx_stdlibs(options={})
|
||||
options = { :skip_executables => false }.merge(options)
|
||||
skip_executables = options[:skip_executables]
|
||||
skip_executables = options.fetch(:skip_executables, false)
|
||||
results = Set.new
|
||||
|
||||
mach_o_files.each do |file|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user