aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/openssl/unix/android-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/openssl/unix/android-cc.patch')
-rw-r--r--vcpkg/ports/openssl/unix/android-cc.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/openssl/unix/android-cc.patch b/vcpkg/ports/openssl/unix/android-cc.patch
new file mode 100644
index 0000000..f4c3d68
--- /dev/null
+++ b/vcpkg/ports/openssl/unix/android-cc.patch
@@ -0,0 +1,20 @@
+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,