mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 17:49:07 +08:00
21 lines
704 B
Diff
21 lines
704 B
Diff
|
diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf
|
||
|
index 41ad922..d15e34c 100644
|
||
|
--- a/Configurations/15-android.conf
|
||
|
+++ b/Configurations/15-android.conf
|
||
|
@@ -102,6 +102,7 @@
|
||
|
my $cflags;
|
||
|
my $cppflags;
|
||
|
|
||
|
+if (0) {
|
||
|
# see if there is NDK clang on $PATH, "universal" or "standalone"
|
||
|
if (which("clang") =~ m|^$ndk/.*/prebuilt/([^/]+)/|) {
|
||
|
my $host=$1;
|
||
|
@@ -158,6 +159,7 @@
|
||
|
$sysroot =~ s|^$ndk/||;
|
||
|
$sysroot = " --sysroot=\$($ndk_var)/$sysroot";
|
||
|
}
|
||
|
+}
|
||
|
$android_ndk = {
|
||
|
cflags => $cflags . $sysroot,
|
||
|
cppflags => $cppflags,
|