aports/testing/libcouchbase/fix_snappy.patch
Nathan Johnson a13969a544 testing/libcouchbase: new aport
http://developer.couchbase.com/community
C client library for Couchbase NoSQL database
2016-03-01 06:29:54 +00:00

13 lines
327 B
Diff

--- 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";