summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/posix2/ds/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/experimental/posix2/ds/src/Makefile.am')
-rw-r--r--xlators/experimental/posix2/ds/src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/experimental/posix2/ds/src/Makefile.am b/xlators/experimental/posix2/ds/src/Makefile.am
index 7b9e2739fc8..d77ef8cb540 100644
--- a/xlators/experimental/posix2/ds/src/Makefile.am
+++ b/xlators/experimental/posix2/ds/src/Makefile.am
@@ -1,5 +1,7 @@
-xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
+if WITH_SERVER
xlator_LTLIBRARIES = posix2-ds.la
+endif
+xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/experimental
posix2_ds_sources = posix2-ds-main.c