diff options
Diffstat (limited to 'testing/libcouchbase/fix_snappy.patch')
-rw-r--r-- | testing/libcouchbase/fix_snappy.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/libcouchbase/fix_snappy.patch b/testing/libcouchbase/fix_snappy.patch new file mode 100644 index 0000000000..7756296a25 --- /dev/null +++ b/testing/libcouchbase/fix_snappy.patch @@ -0,0 +1,12 @@ +--- a/cmake/configure ++++ b/cmake/configure +@@ -285,6 +285,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 ($STATIC_SNAPPY) { + push @CM_OPTIONS, "-DLCB_STATIC_SNAPPY"; |