diff options
Diffstat (limited to 'Configurations/15-android.conf')
-rw-r--r-- | Configurations/15-android.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf index ddd642a117..89c5d0ad89 100644 --- a/Configurations/15-android.conf +++ b/Configurations/15-android.conf @@ -4,6 +4,8 @@ # comments below... { + use File::Spec::Functions; + my $android_ndk = {}; my %triplet = ( arm => "arm-linux-androideabi", @@ -22,6 +24,7 @@ my $ndk = $ENV{ANDROID_NDK}; die "\$ANDROID_NDK is not defined" if (!$ndk); + $ndk = canonpath($ndk); die "\$ANDROID_NDK=$ndk is invalid" if (!-d "$ndk/platforms"); my $ndkver = undef; |