summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/ext/compressors/nop/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/ext/compressors/nop/Makefile.am')
-rw-r--r--src/third_party/wiredtiger/ext/compressors/nop/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/ext/compressors/nop/Makefile.am b/src/third_party/wiredtiger/ext/compressors/nop/Makefile.am
new file mode 100644
index 00000000000..87dbf18cb22
--- /dev/null
+++ b/src/third_party/wiredtiger/ext/compressors/nop/Makefile.am
@@ -0,0 +1,9 @@
+AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)/src/include
+
+noinst_LTLIBRARIES = libwiredtiger_nop.la
+libwiredtiger_nop_la_SOURCES = nop_compress.c
+
+# libtool hack: noinst_LTLIBRARIES turns off building shared libraries as well
+# as installation, it will only build static libraries. As far as I can tell,
+# the "approved" libtool way to turn them back on is by adding -rpath.
+libwiredtiger_nop_la_LDFLAGS = -avoid-version -module -rpath /nowhere