summaryrefslogtreecommitdiffstats
path: root/xlators/features/index/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/index/src/Makefile.am')
-rw-r--r--xlators/features/index/src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/index/src/Makefile.am b/xlators/features/index/src/Makefile.am
index 6372672bc87..c71c238c163 100644
--- a/xlators/features/index/src/Makefile.am
+++ b/xlators/features/index/src/Makefile.am
@@ -1,4 +1,6 @@
+if WITH_SERVER
xlator_LTLIBRARIES = index.la
+endif
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
index_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)