Commit 93390cee authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated leveldb to 1.22

parent 49a3b7c2
all:
tar xf leveldb-1.20.tar.gz
$(MAKE) -C leveldb-1.20
cd leveldb-1.20 && cp -rf include/leveldb /usr/include
cd leveldb-1.20 && cp out-shared/libleveldb.* /usr/lib
rm -rf leveldb-1.20
tar xf leveldb-1.22.tar.gz
cd leveldb-1.22 && mkdir -p build
cd leveldb-1.22/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
cd leveldb-1.22/build && cmake --build .
cd leveldb-1.22 && cp -rf include/leveldb /usr/include
cd leveldb-1.22/build && cp libleveldb.* /usr/lib
rm -rf leveldb-1.22
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment