mirror of https://github.com/ledisdb/ledisdb.git
add c++ cgo_flag
This commit is contained in:
parent
3cf448db0e
commit
5a5081c34e
1
dev.sh
1
dev.sh
|
@ -27,6 +27,7 @@ function add_path()
|
|||
}
|
||||
|
||||
export CGO_CFLAGS="-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 LD_LIBRARY_PATH=$(add_path $LD_LIBRARY_PATH $SNAPPY_DIR/lib)
|
||||
export LD_LIBRARY_PATH=$(add_path $LD_LIBRARY_PATH $LEVELDB_DIR/lib)
|
||||
|
|
Loading…
Reference in New Issue