Configuration/15-android.conf: slightly move NDK canonisation

This allows the original path to be displayed when it's shown
to be invalid, so the user can relate without question.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6925)
This commit is contained in:
Richard Levitte 2018-08-12 14:22:16 +02:00
parent 18174ba8a3
commit 9f9a7d60ad

View file

@ -24,8 +24,8 @@
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");
$ndk = canonpath($ndk);
my $ndkver = undef;