Lines Matching refs:rpath
20 # Throw away everything other than the rpath list
22 #bb.note("Current rpath for %s is %s" % (fpath, curr_rpath.strip()))
26 for rpath in rpaths:
27 # If rpath is already dynamic copy it to new_rpath and continue
28 if rpath.find("$ORIGIN") != -1:
29 new_rpaths.append(rpath)
31 rpath = os.path.normpath(rpath)
32 if baseprefix not in rpath and tmpdir not in rpath:
34 if rpath in ['/lib', '/usr/lib', '/lib64/', '/usr/lib64']:
35 bb.warn("Skipping RPATH %s as is a standard search path for %s" % (rpath, fpath))
38 new_rpaths.append(rpath)
40 …new_rpaths.append("$ORIGIN/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/"))…
49 #bb.note("Setting rpath for %s to %s" %(fpath, args))
67 rpath = l.partition("(compatibility")[0].strip()
68 if baseprefix not in rpath:
74 … newpath = "@loader_path/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/")))
75 …p = sub.Popen([d.expand("${HOST_PREFIX}install_name_tool"), '-change', rpath, newpath, fpath],stdo…