aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/openssl.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-11-01 03:38:13 +0000
committerHoward Chu <hyc@symas.com>2019-11-03 21:14:45 +0000
commit643860776e923428d2d2207ec70ead52adcc9272 (patch)
treec8414b27be7c20b916149a4585e0453a673eae57 /contrib/depends/packages/openssl.mk
parentMerge pull request #6079 (diff)
downloadmonero-643860776e923428d2d2207ec70ead52adcc9272.tar.xz
Add Android support
Diffstat (limited to '')
-rw-r--r--contrib/depends/packages/openssl.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/depends/packages/openssl.mk b/contrib/depends/packages/openssl.mk
index 8d08900f5..f3b781f28 100644
--- a/contrib/depends/packages/openssl.mk
+++ b/contrib/depends/packages/openssl.mk
@@ -40,6 +40,8 @@ $(package)_config_opts_x86_64_linux=linux-x86_64
$(package)_config_opts_i686_linux=linux-generic32
$(package)_config_opts_arm_linux=linux-generic32
$(package)_config_opts_aarch64_linux=linux-generic64
+$(package)_config_opts_arm_android=--static android-armv7 no-asm
+$(package)_config_opts_aarch64_android=--static android no-asm
$(package)_config_opts_riscv64_linux=linux-generic64
$(package)_config_opts_mipsel_linux=linux-generic32
$(package)_config_opts_mips_linux=linux-generic32
@@ -51,7 +53,8 @@ endef
define $(package)_preprocess_cmds
sed -i.old "/define DATE/d" util/mkbuildinf.pl && \
- sed -i.old "s|engines apps test|engines|" Makefile.org
+ sed -i.old "s|engines apps test|engines|" Makefile.org && \
+ sed -i -e "s/-mandroid //" Configure
endef
define $(package)_config_cmds