Instructions to install patchelf, when development tools cant locate patchelf.
This commit is contained in:
parent
0b6ae538d1
commit
39c572b546
@ -19,6 +19,8 @@ class Keg
|
||||
return if !file.elf? || !file.dynamic_elf?
|
||||
|
||||
patchelf = DevelopmentTools.locate "patchelf"
|
||||
odie "Could not locate patchelf, please: brew install patchelf." if patchelf.nil?
|
||||
|
||||
cmd_rpath = [patchelf, "--print-rpath", file]
|
||||
old_rpath = Utils.popen_read(*cmd_rpath, err: :out).strip
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user