summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/changetimerecorder/src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/xlators/features/changetimerecorder/src/Makefile.am b/xlators/features/changetimerecorder/src/Makefile.am
index 62664e8ebd4..128227a83d6 100644
--- a/xlators/features/changetimerecorder/src/Makefile.am
+++ b/xlators/features/changetimerecorder/src/Makefile.am
@@ -1,6 +1,10 @@
-xlator_LTLIBRARIES = changetimerecorder.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
+# changetimerecorder can only get build when libgfdb is enabled
+if BUILD_GFDB
+ xlator_LTLIBRARIES = changetimerecorder.la
+endif
+
changetimerecorder_la_LDFLAGS = -module -avoid-version
changetimerecorder_la_SOURCES = changetimerecorder.c ctr-helper.c