Skip to content
Snippets Groups Projects
Commit 18595426 authored by Joe Garcia's avatar Joe Garcia
Browse files

one more fix for linux

parent dad025c5
No related branches found
No related tags found
No related merge requests found
......@@ -442,6 +442,8 @@ def ldd(path,elvish=True,forbiddenlibs=[]):
if len(tmp)>0:
printerr('@'*32 + 'Binary '+path+' links to forbidden library '+lib)
uhoh += tmp
if platform.machine()=="aarch64" and os.path.basename(os.path.dirname(path)) in ('amd64','x86'):
return 0 #don't care. this binary is probably the wrong hardware
else:
pid= sp.Popen(['otool','-L',path], env=clean_env(), stdout=sp.PIPE, stderr=sp.PIPE)
......
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