From 7589d8c9c055e028f4f38b18d8074253683e2c4f Mon Sep 17 00:00:00 2001 From: siddontang Date: Thu, 1 May 2014 08:58:27 +0800 Subject: [PATCH] update leveldb build bash --- leveldb/build_deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/leveldb/build_deps.sh b/leveldb/build_deps.sh index fec3b2f..c3ca0c2 100644 --- a/leveldb/build_deps.sh +++ b/leveldb/build_deps.sh @@ -5,6 +5,8 @@ #install leveldb and snappy #you must set your own snappy and leveldb source directory +#snappy https://drive.google.com/file/d/0B0xs9kK-b5nMOWIxWGJhMXd6aGs/edit?usp=sharing +#leveldb https://leveldb.googlecode.com/files/leveldb-1.15.0.tar.gz SNAPPY_SRC=./snappy LEVELDB_SRC=./leveldb @@ -30,7 +32,7 @@ if [ ! -f $LEVELDB_DIR/lib/libleveldb.a ]; then mkdir -p $LEVELDB_DIR/include/leveldb && \ install include/leveldb/*.h $LEVELDB_DIR/include/leveldb && \ mkdir -p $LEVELDB_DIR/lib && \ - cp -af libleveldb.* $LEVELDB_DIR/lib) + cp -f libleveldb.* $LEVELDB_DIR/lib) else echo "skip install leveldb" fi