Skip to content

Commit

Permalink
add build.sh for zookeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLiuXh authored Nov 26, 2018
1 parent 1a987e8 commit ebd6aef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions deps/zookeeper/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

if [-d "./_install" ];then
rm -rf ./_install
fi

mkdir ./_install
mkdir ./_install/lib

basepath=$(cd `dirname $0`; pwd)
./configure --enable-shared=no --prefix=$basepath/_install/ --with-pic

make clean
make
make install

cp ./*.o ./_install/lib
rm ./_install/lib/cli*
rm ./_install/lib/load_gen-load_gen.o
rm ./_install/lib/*la*

0 comments on commit ebd6aef

Please sign in to comment.