mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 14:39:02 +08:00
73b9a2a359
* [vcpkg-cmake-get-vars] Call 'project' early
System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.
* Get Android variables
* [openssl] Ensure that compiler is reached via 'PATH'
* Fix Android configuration
* Add 'tools' feature
* Update versions
* [openssl] Initialize android with vcpkg settings
* [openssl] Really don't build apps
* [vcpkg-cmake-get-vars] Update android vars
* [libpq] Pass openssl version from pkgconfig
* [vcpkg-cmake-get-vars] Update android vars
* [vcpkg-cmake-get-vars] Report generator
* [vcpkg-cmake-get-vars] Escape all output
* Transfer cmake-get-vars fixes
* Transfer cmake-get-vars extra flags
* no-asm for android-arm w/o neon
* [vcpkg_configure_make] Unquote as needed
Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.
* Re-add lost 'project', amends 4cf7caaa
* [openssl] Fix emscripten
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,
|