Lines Matching refs:sysroot
52 sysroot = options.sysroot
53 assert sysroot
57 if sysroot and not arch:
61 libdir = sysroot + '/usr/' + options.system_libdir + '/pkgconfig'
62 libdir += ':' + sysroot + '/usr/share/pkgconfig'
96 def RewritePath(path, strip_prefix, sysroot): argument
98 if os.path.isabs(path) and not path.startswith(sysroot):
102 return os.path.join(sysroot, path)
138 if options.sysroot:
208 sysroot = options.sysroot
209 if not sysroot:
210 sysroot = ''
222 libs.append(RewritePath(flag[2:], prefix, sysroot))
224 lib_dirs.append(RewritePath(flag[2:], prefix, sysroot))
226 includes.append(RewritePath(flag[2:], prefix, sysroot))