Skip to content

Commit 1499a37

Browse files
committed
Reduced installation size
1 parent 8a00dac commit 1499a37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/or-tools/vendor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def download_file(url, download_path, redirects = 0)
141141
# shared library
142142
FileUtils.mkdir(File.join(path, "lib"))
143143
Dir.glob("lib/lib*{.dylib,.so,.so.*}", base: extract_path) do |file|
144+
next if file.include?("libprotoc.")
144145
FileUtils.mv(File.join(extract_path, file), File.join(path, file))
145146
end
146147
end

0 commit comments

Comments
 (0)