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