Lines Matching refs:sysroot
55 my ($sysroot, $api, $arch);
60 if ($sysroot = $ENV{CROSS_SYSROOT}) {
61 $sysroot =~ m|/android-([0-9]+)/arch-(\w+)/?$|;
64 $sysroot = "$ndk/sysroot";
83 $sysroot = "@platforms[$#platforms]/arch-$arch";
84 $sysroot =~ m|/android-([0-9]+)/arch-$arch|;
100 die "no sysroot=$sysroot" if (length $sysroot && !-d $sysroot);
113 if (length $sysroot) {
149 if (length $sysroot) {
150 if (!-d "$sysroot/usr/include") {
159 $sysroot =~ s|^$ndk/||;
160 $sysroot = " --sysroot=\$($ndk_var)/$sysroot";
163 cflags => $cflags . $sysroot,