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