dev snappy bugfix

This commit is contained in:
siddontang 2014-08-02 12:59:33 +08:00
parent 00cedb5647
commit 812ca13c81
1 changed files with 1 additions and 1 deletions

2
dev.sh
View File

@ -35,7 +35,7 @@ CGO_LDFLAGS=
# check dependent libray, now we only check simply, maybe later add proper checking way. # check dependent libray, now we only check simply, maybe later add proper checking way.
# check snappy # check snappy
if [ -f $LEVELDB_DIR/include/snappy.h ]; then if [ -f $SNAPPY_DIR/include/snappy.h ]; then
CGO_CFLAGS="$CGO_CFLAGS -I$SNAPPY_DIR/include" CGO_CFLAGS="$CGO_CFLAGS -I$SNAPPY_DIR/include"
CGO_CXXFLAGS="$CGO_CXXFLAGS -I$SNAPPY_DIR/include" CGO_CXXFLAGS="$CGO_CXXFLAGS -I$SNAPPY_DIR/include"
CGO_LDFLAGS="$CGO_LDFLAGS -L$SNAPPY_DIR/lib -lsnappy" CGO_LDFLAGS="$CGO_LDFLAGS -L$SNAPPY_DIR/lib -lsnappy"