diff options
Diffstat (limited to 'community/libcouchbase/fix_snappy.patch')
-rw-r--r-- | community/libcouchbase/fix_snappy.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/libcouchbase/fix_snappy.patch b/community/libcouchbase/fix_snappy.patch new file mode 100644 index 0000000000..5e4281b186 --- /dev/null +++ b/community/libcouchbase/fix_snappy.patch @@ -0,0 +1,12 @@ +--- a/cmake/configure ++++ b/cmake/configure +@@ -287,6 +287,9 @@ + } + if ($NO_SNAPPY) { + push @CM_OPTIONS, "-DLCB_NO_SNAPPY=1"; ++} else { ++ # the cmake options default NO_SNAPPY to ON, so this is necessary ++ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0"; + } + if ($ENABLE_SNAPPY) { + push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0"; |