From 812ca13c815d8b311a5d4a8dbfc8b39d388d750f Mon Sep 17 00:00:00 2001 From: siddontang Date: Sat, 2 Aug 2014 12:59:33 +0800 Subject: [PATCH] dev snappy bugfix --- dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.sh b/dev.sh index 9709cc6..6d753f2 100644 --- a/dev.sh +++ b/dev.sh @@ -35,7 +35,7 @@ CGO_LDFLAGS= # check dependent libray, now we only check simply, maybe later add proper checking way. # 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_CXXFLAGS="$CGO_CXXFLAGS -I$SNAPPY_DIR/include" CGO_LDFLAGS="$CGO_LDFLAGS -L$SNAPPY_DIR/lib -lsnappy"