Skip to content
Snippets Groups Projects
Unverified Commit 79bc3532 authored by Shaun Jackman's avatar Shaun Jackman Committed by GitHub
Browse files

Merge pull request #5471 from sjackman/needed-libraries

needed_libraries: Fix cannot find section .dynamic
parents 74b0adeb 9ef01073
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,8 @@ module ELFShim
end
def needed_libraries_using_patchelf(path)
return [nil, []] unless path.dynamic_elf?
patchelf = DevelopmentTools.locate "patchelf"
if path.dylib?
command = [patchelf, "--print-soname", path.expand_path.to_s]
......
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