mirror of https://github.com/ledisdb/ledisdb.git
dev snappy bugfix
This commit is contained in:
parent
00cedb5647
commit
812ca13c81
2
dev.sh
2
dev.sh
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue