From 36aa8503fada30589b4c49615d3e896ce185a3ee Mon Sep 17 00:00:00 2001 From: Jeffrey Picard Date: Thu, 1 Sep 2022 09:30:06 +0000 Subject: [PATCH] add CGO flags to readme --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index 8e1e5c8..3c9dde5 100644 --- a/readme.md +++ b/readme.md @@ -72,6 +72,8 @@ tar xfzv rocksdb-6.29.5.tar.gz cd rocksdb-6.29.5 make static_lib sudo make install +export CGO_CFLAGS="-I/usr/local/lib" +export CGO_LDFLAGS="-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -llz4 -lzstd -lbz2" ``` ```