Commit 9f9a7d60 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarAndy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6925)
parent 18174ba8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;