aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/openssl/unix/android-cc.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/openssl/unix/android-cc.patch
move to own git serverHEADmaster
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,