diff --git a/tools/check_format_compatible.sh b/tools/check_format_compatible.sh index 81448697f852d165c1785796ca94d5049ca7ae57..6320610d8c7f76f7cdcc6ee7934a389e32867299 100755 --- a/tools/check_format_compatible.sh +++ b/tools/check_format_compatible.sh @@ -45,6 +45,10 @@ else fi git fetch $tmp_origin +# Used in building some ancient RocksDB versions where by default it tries to +# use a precompiled libsnappy.a checked in to the repo. +export SNAPPY_LDFLAGS=-lsnappy + cleanup() { echo "== Cleaning up" git reset --hard || true