Android build: fix usage of NDK home variable ($ndk_var)
CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8153)
This commit is contained in:
parent
1039c78255
commit
adc7e221f1
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@
|
|||
|
||||
my $ndk_var;
|
||||
my $ndk;
|
||||
foreach $ndk_var (qw(ANDROID_NDK_HOME ANDROID_NDK)) {
|
||||
foreach (qw(ANDROID_NDK_HOME ANDROID_NDK)) {
|
||||
$ndk_var = $_;
|
||||
$ndk = $ENV{$ndk_var};
|
||||
last if defined $ndk;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue