123dfa600e
compressor in config, default is snappy, off is {block_compressor, none}.
24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
diff --git a/ext/compressors/bzip2/Makefile.am b/ext/compressors/bzip2/Makefile.am
|
|
index 0aedc2e..a70ae2e 100644
|
|
--- a/ext/compressors/bzip2/Makefile.am
|
|
+++ b/ext/compressors/bzip2/Makefile.am
|
|
@@ -2,5 +2,6 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)/src/include
|
|
|
|
lib_LTLIBRARIES = libwiredtiger_bzip2.la
|
|
libwiredtiger_bzip2_la_SOURCES = bzip2_compress.c
|
|
-libwiredtiger_bzip2_la_LDFLAGS = -avoid-version -module
|
|
+libwiredtiger_snappy_la_CFLAGS = -I$(src_builddir)/../../system/include
|
|
+libwiredtiger_snappy_la_LDFLAGS = -avoid-version -module -L$(src_builddir)/../../system/lib -Wl,-rpath,lib/wterl-0.9.0/priv:lib/wterl/priv:priv
|
|
libwiredtiger_bzip2_la_LIBADD = -lbz2
|
|
diff --git a/ext/compressors/snappy/Makefile.am b/ext/compressors/snappy/Makefile.am
|
|
index 6d78823..2122cf8 100644
|
|
--- a/ext/compressors/snappy/Makefile.am
|
|
+++ b/ext/compressors/snappy/Makefile.am
|
|
@@ -2,5 +2,6 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)/src/include
|
|
|
|
lib_LTLIBRARIES = libwiredtiger_snappy.la
|
|
libwiredtiger_snappy_la_SOURCES = snappy_compress.c
|
|
-libwiredtiger_snappy_la_LDFLAGS = -avoid-version -module
|
|
+libwiredtiger_snappy_la_CFLAGS = -I$(src_builddir)/../../system/include
|
|
+libwiredtiger_snappy_la_LDFLAGS = -avoid-version -module -L$(src_builddir)/../../system/lib -Wl,-rpath,lib/wterl-0.9.0/priv:lib/wterl/priv:priv
|
|
libwiredtiger_snappy_la_LIBADD = -lsnappy
|