diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf index c94da41231..7b496a4529 100644 --- a/Configurations/15-android.conf +++ b/Configurations/15-android.conf @@ -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; }