Skip to content

Commit

Permalink
Android: hardcode leveldb revision
Browse files Browse the repository at this point in the history
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

google/leveldb#340
  • Loading branch information
est31 committed Feb 22, 2016
1 parent 9961185 commit a26970c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/android/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a26970c

Please sign in to comment.