aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Cota <[email protected]>2019-09-22 14:35:41 +0200
committerIgor Cota <[email protected]>2019-09-22 14:35:41 +0200
commitb4057d82618a21720f39f448b689cebf475cc2dc (patch)
tree97fe7ca9de26c4a56534a99e7c273b2655a0d963
parentFix Android zlib cross compilation issue (https://stackoverflow.com/questions... (diff)
downloaddiscoin-b4057d82618a21720f39f448b689cebf475cc2dc.tar.xz
discoin-b4057d82618a21720f39f448b689cebf475cc2dc.zip
Define TARGET_OS when host is android
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2445b7268..78873f385 100644
--- a/configure.ac
+++ b/configure.ac
@@ -590,6 +590,7 @@ case $host in
;;
*android*)
dnl make sure android stays above linux for hosts like *linux-android*
+ TARGET_OS=android
LEVELDB_TARGET_FLAGS="-DOS_ANDROID"
;;
*linux*)