diff options
author | Andy Polyakov <appro@openssl.org> | 2018-03-26 12:35:57 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-03-27 19:52:30 +0200 |
commit | f770d75b1cac264d6280ec7326277daff6965cbb (patch) | |
tree | d933fcb361762834075a29742c43972eceb8e1ce /Configurations/15-android.conf | |
parent | 37a385956461ab526ecea2739a8a40364a8db259 (diff) |
Configure: make LIST command work with dynamic 15-android.conf.
This is quick-n-dirty ad-hoc solution, the problem asks for more
elegant one...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5755)
Diffstat (limited to 'Configurations/15-android.conf')
-rw-r--r-- | Configurations/15-android.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf index 551f71b92f..d117386d2d 100644 --- a/Configurations/15-android.conf +++ b/Configurations/15-android.conf @@ -16,6 +16,10 @@ sub android_ndk { unless (%$android_ndk) { + if ($now_printing =~ m|^android|) { + return $android_ndk = { bn_ops => "BN_AUTO" }; + } + my $ndk = $ENV{ANDROID_NDK}; die "\$ANDROID_NDK is not defined" if (!$ndk); die "\$ANDROID_NDK=$ndk is invalid" if (!-d "$ndk/platforms"); |