diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-09-04 21:00:53 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 23:08:56 +0200 |
commit | 9d503a72855167fcfa66362657d3f93f7b823774 (patch) | |
tree | 10d414108590cc2e2966189b62189520bff58061 /src | |
parent | 94a50fb339d72f64721b75b66fdfe28b1633fbdc (diff) |
Disable libsnappy detection in LevelDB
Diffstat (limited to 'src')
-rwxr-xr-x | src/leveldb/build_detect_platform | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform index 5a8d723734..385b5effdc 100755 --- a/src/leveldb/build_detect_platform +++ b/src/leveldb/build_detect_platform @@ -156,17 +156,6 @@ EOF 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() {} |