skip needed_libraries check when patchelf is the bottle being installed.

This commit is contained in:
rmnull 2020-05-15 04:36:15 +05:30
parent 1a7525ee2d
commit 69e1673a81

View File

@ -132,6 +132,8 @@ module ELFShim
elsif DevelopmentTools.locate "patchelf"
needed_libraries_using_patchelf path
else
return [nil, []] if path.basename.to_s == "patchelf"
raise "patchelf must be installed: brew install patchelf"
end
end