summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-06-20 13:12:22 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-06-20 13:12:22 +1000
commit125cc016e905579c484c445f3f2f1b9bb71f92db (patch)
tree85c76906d77da7a79b6c22cc5d114e56184854e8 /build_posix/Make.base
parent424bab13a64057baf87adf8152b18ef6bfa9beff (diff)
downloadmongo-125cc016e905579c484c445f3f2f1b9bb71f92db.tar.gz
Link builtin extensions directly into libwiredtiger.la.
Diffstat (limited to 'build_posix/Make.base')
-rw-r--r--build_posix/Make.base8
1 files changed, 8 insertions, 0 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index b8dc92d67e9..cdc12240bc3 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -59,3 +59,11 @@ $(srcdir)/docs/man/man3/wiredtiger.3: $(srcdir)/docs/index.html
clean-local:
rm -rf WT_TEST
+
+libwiredtiger_la_LIBADD =
+if HAVE_BUILTIN_EXTENSION_SNAPPY
+libwiredtiger_la_LIBADD += ext/compressors/snappy/libwiredtiger_snappy.la
+endif
+if HAVE_BUILTIN_EXTENSION_ZLIB
+libwiredtiger_la_LIBADD += ext/compressors/snappy/libwiredtiger_zlib.la
+endif