Skip to content

Commit

Permalink
Android build: fix usage of NDK home variable ($ndk_var)
Browse files Browse the repository at this point in the history
CLA: trivial

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
(Merged from openssl#8153)
  • Loading branch information
batist73 authored and levitte committed Feb 4, 2019
1 parent 1039c78 commit adc7e22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configurations/15-android.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit adc7e22

Please sign in to comment.