Mercurial > hg > bitcoin
changeset 3636:4343eaacb7ad draft
Disable libsnappy detection in LevelDB
author | Pieter Wuille <pieter.wuille@gmail.com> |
---|---|
date | Tue, 04 Sep 2012 21:00:53 +0200 |
parents | af349b425472 |
children | e5033c157bc8 |
files | src/leveldb/build_detect_platform |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/leveldb/build_detect_platform +++ b/src/leveldb/build_detect_platform @@ -156,17 +156,6 @@ COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX" fi - # Test whether Snappy library is installed - # http://code.google.com/p/snappy/ - $CXX $CFLAGS -x c++ - -o /dev/null 2>/dev/null <<EOF - #include <snappy.h> - int main() {} -EOF - if [ "$?" = 0 ]; then - COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY" - PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lsnappy" - fi - # Test whether tcmalloc is available $CXX $CFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF int main() {}