aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcouchbase/fix_snappy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libcouchbase/fix_snappy.patch')
-rw-r--r--testing/libcouchbase/fix_snappy.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/libcouchbase/fix_snappy.patch b/testing/libcouchbase/fix_snappy.patch
index 7756296a25..5e4281b186 100644
--- a/testing/libcouchbase/fix_snappy.patch
+++ b/testing/libcouchbase/fix_snappy.patch
@@ -1,6 +1,6 @@
--- a/cmake/configure
+++ b/cmake/configure
-@@ -285,6 +285,9 @@
+@@ -287,6 +287,9 @@
}
if ($NO_SNAPPY) {
push @CM_OPTIONS, "-DLCB_NO_SNAPPY=1";
@@ -8,5 +8,5 @@
+ # 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";
+ if ($ENABLE_SNAPPY) {
+ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0";