diff --git a/ShellB3/sb3bin/thosewhohuntelfs.py b/ShellB3/sb3bin/thosewhohuntelfs.py index 93e6890167b50897677ed34d8032c39a1c781033..cd6c730d314b08db5328404b02549fcdaa0c21d8 100755 --- a/ShellB3/sb3bin/thosewhohuntelfs.py +++ b/ShellB3/sb3bin/thosewhohuntelfs.py @@ -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)