From 4eeadc73897523cb9821084aac45b596de1e4954 Mon Sep 17 00:00:00 2001 From: siddontang Date: Wed, 14 May 2014 17:56:01 +0800 Subject: [PATCH] update build_leveldb --- build_leveldb.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_leveldb.sh b/build_leveldb.sh index 73fbf2a..1940e9a 100644 --- a/build_leveldb.sh +++ b/build_leveldb.sh @@ -12,8 +12,9 @@ mkdir -p $BUILD_DIR cd $BUILD_DIR if [ ! -f $SNAPPY_DIR/lib/libsnappy.a ]; then - (git clone git@github.com:siddontang/snappy.git && \ + (git clone https://github.com/siddontang/snappy.git && \ cd ./snappy && \ + autoreconf --force --install && \ ./configure --prefix=$SNAPPY_DIR && \ make && \ make install && \ @@ -25,7 +26,7 @@ fi cd $BUILD_DIR if [ ! -f $LEVELDB_DIR/lib/libleveldb.a ]; then - (git clone git@github.com:siddontang/leveldb.git && \ + (git clone https://github.com/siddontang/leveldb.git && \ cd ./leveldb && \ echo "echo \"PLATFORM_CFLAGS+=-I$SNAPPY_DIR/include\" >> build_config.mk" >> build_detect_platform && echo "echo \"PLATFORM_CXXFLAGS+=-I$SNAPPY_DIR/include\" >> build_config.mk" >> build_detect_platform &&