Skip to content
Snippets Groups Projects
Commit 097d5242 authored by Jack Nagel's avatar Jack Nagel
Browse files

Simplify skip_executables option

parent b0fe8c34
No related branches found
No related tags found
No related merge requests found
......@@ -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|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment