summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/Makefile.am b/cli/Makefile.am
index 4d908a9..27a9a8a 100644
--- a/cli/Makefile.am
+++ b/cli/Makefile.am
@@ -2,9 +2,11 @@ sbin_PROGRAMS = gluster-block
gluster_block_SOURCES = gluster-block.c
-gluster_block_LDADD = $(top_srcdir)/rpc/libgbxdr.la $(top_srcdir)/utils/libgb.la
+gluster_block_LDADD = $(top_srcdir)/rpc/libgbxdr.la \
+ $(top_srcdir)/utils/libgb.la
-gluster_block_CFLAGS = -I$(top_srcdir)/utils/ -I$(top_srcdir)/rpc
+gluster_block_CFLAGS = -DDATADIR=\"$(localstatedir)\" \
+ -I$(top_srcdir)/utils/ -I$(top_srcdir)/rpc
DISTCLEANFILES = Makefile.in