Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion bindings/ruby/ext/dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ def initialize(cmake, options)
def libs
tsort.filter_map {|node|
label, shape = @nodes[node]
shape == @static_lib_shape ? label : nil
if shape == @static_lib_shape
clean_label = label.gsub(/\\n\([^)]+\)/, '').gsub(/[^a-zA-Z0-9_-]/, '-')
clean_label
else
nil
end
}.reverse.collect {|lib| "lib#{lib}.a"}
end

Expand Down
Loading