mirror of https://github.com/ledisdb/ledisdb.git
set ledisdb root dir to gopath in dev.sh
This commit is contained in:
parent
4377c09bb2
commit
ae76f1db41
2
dev.sh
2
dev.sh
|
@ -26,6 +26,8 @@ function add_path()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export GOPATH=$(add_path $GOPATH $VTROOT)
|
||||||
|
|
||||||
export CGO_CFLAGS="-I$LEVELDB_DIR/include -I$SNAPPY_DIR/include"
|
export CGO_CFLAGS="-I$LEVELDB_DIR/include -I$SNAPPY_DIR/include"
|
||||||
export CGO_CXXFLAGS="-I$LEVELDB_DIR/include -I$SNAPPY_DIR/include"
|
export CGO_CXXFLAGS="-I$LEVELDB_DIR/include -I$SNAPPY_DIR/include"
|
||||||
export CGO_LDFLAGS="-L$LEVELDB_DIR/lib -L$SNAPPY_DIR/lib -lsnappy"
|
export CGO_LDFLAGS="-L$LEVELDB_DIR/lib -L$SNAPPY_DIR/lib -lsnappy"
|
||||||
|
|
Loading…
Reference in New Issue