projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faca6bf
)
Configurations/15-android.conf: fix implicit __ANDROID_API__ handling.
author
Andy Polyakov
<appro@openssl.org>
Fri, 19 Oct 2018 14:03:28 +0000
(16:03 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 31 Oct 2018 14:45:03 +0000
(15:45 +0100)
03ad7c009e16a233c733098db3169c560142ccd3
failed if one didn't pass
explicit -D__ANDROID_API__=N :-(
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7443)
(cherry picked from commit
71f2b3171e8b94b0fbdc7fab2d7ca4ea66edec2b
)
Configurations/15-android.conf
patch
|
blob
|
history
diff --git
a/Configurations/15-android.conf
b/Configurations/15-android.conf
index a6b0d7a06d24b3e058b40a58a70c4b3d29567aef..f9ad0833fafd70cf8405632f983405b74fb544ca 100644
(file)
--- a/
Configurations/15-android.conf
+++ b/
Configurations/15-android.conf
@@
-73,6
+73,8
@@
die "no $ndk/platforms/android-$api" if ($#platforms < 0);
$sysroot = "@platforms[$#platforms]/arch-$arch";
+ $sysroot =~ m|/android-([0-9]+)/arch-$arch|;
+ $api = $1;
}
die "no sysroot=$sysroot" if (!-d $sysroot);