Lines Matching refs:sysroot
51 sysroot = options.sysroot
52 assert sysroot
56 if sysroot and not arch:
60 libdir = sysroot + '/usr/' + options.system_libdir + '/pkgconfig'
61 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:
206 sysroot = options.sysroot
207 if not sysroot:
208 sysroot = ''
220 libs.append(RewritePath(flag[2:], prefix, sysroot))
222 lib_dirs.append(RewritePath(flag[2:], prefix, sysroot))
224 includes.append(RewritePath(flag[2:], prefix, sysroot))