aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-02-22 17:43:42 +0100
committerest31 <MTest31@outlook.com>2016-02-22 17:46:16 +0100
commita26970cdd4aec995416566cd75dd271c6b485f16 (patch)
tree4d2e37adc22ff73ec2b32c5f19dfa1eb49983bc6
parent9961185550ff2a8ada61455ac351f85ea7122aa2 (diff)
downloadminetest-a26970cdd4aec995416566cd75dd271c6b485f16.tar.gz
minetest-a26970cdd4aec995416566cd75dd271c6b485f16.tar.bz2
minetest-a26970cdd4aec995416566cd75dd271c6b485f16.zip
Android: hardcode leveldb revision
Newest leveldb commit breaks build. With no fix in sight, there is no other way than to fall back to the last working leveldb revision, and hardcode it. Workaround for upstream bug https://github.com/google/leveldb/issues/340
-rw-r--r--build/android/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/android/Makefile b/build/android/Makefile
index 64a50330a..2fa4aa9ab 100644
--- a/build/android/Makefile
+++ b/build/android/Makefile
@@ -90,6 +90,7 @@ LEVELDB_LIB = $(LEVELDB_DIR)libleveldb.a
LEVELDB_TIMESTAMP = $(LEVELDB_DIR)/timestamp
LEVELDB_TIMESTAMP_INT = $(ROOT)/deps/leveldb_timestamp
LEVELDB_URL_GIT = https://github.com/google/leveldb
+LEVELDB_COMMIT = 2d0320a458d0e6a20fff46d5f80b18bfdcce7018
OPENAL_DIR = $(ROOT)/deps/openal-soft/
OPENAL_LIB = $(OPENAL_DIR)libs/$(TARGET_ABI)/libopenal.so
@@ -363,6 +364,8 @@ leveldb_download :
mkdir -p ${ROOT}/deps; \
cd ${ROOT}/deps ; \
git clone ${LEVELDB_URL_GIT} || exit 1; \
+ cd ${LEVELDB_DIR} || exit 1; \
+ git checkout ${LEVELDB_COMMIT} || exit 1; \
fi
leveldb : $(LEVELDB_LIB)