Lines Matching +full:stdout +full:- +full:path
14 out = subprocess.check_output([cmd, "-l", fpath], universal_newlines=True)
28 if rpath.find("$ORIGIN") != -1:
31 rpath = os.path.normpath(rpath)
35 bb.warn("Skipping RPATH %s as is a standard search path for %s" % (rpath, fpath))
40 …new_rpaths.append("$ORIGIN/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/"))…
51 subprocess.check_output([cmd, "-r", args, fpath],
54 … bb.fatal("chrpath command failed with exit code %d:\n%s\n%s" % (e.returncode, e.stdout, e.stderr))
59 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', fpath],stdout=sub.PIPE,stderr=sub.PIPE)
61 # If returned successfully, process stdout for results
74 … newpath = "@loader_path/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/")))
75 …sub.Popen([d.expand("${HOST_PREFIX}install_name_tool"), '-change', rpath, newpath, fpath],stdout=s…
80 if not os.path.exists(directory):
85 rootdir = os.path.normpath(rootdir)
87 tmpdir = os.path.normpath(d.getVar('TMPDIR', False))
88 baseprefix = os.path.normpath(d.expand('${base_prefix}'))
102 fpath = os.path.normpath(fpath)
103 if os.path.islink(fpath):
107 if os.path.isdir(fpath):
127 def rpath_replace (path, d):
132 directory = path + "/" + bindir
133 process_dir (path, directory, d)