summaryrefslogtreecommitdiffstats
path: root/heal/src
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-04-29 21:03:39 +0200
committerNiels de Vos <ndevos@redhat.com>2015-04-29 23:26:28 -0700
commite204133875eab538261aa91bb6865bec29c6dbbc (patch)
tree684a9ffba74c9890293274c11f16545d3f629ef7 /heal/src
parent7e2baf9acda16cacf3410c22229889f362853384 (diff)
build: glfsheal should link against $(UUID_LIBS)
Without this, building fails on Debian Jessie: /usr/bin/ld: glfs-heal.o: undefined reference to symbol 'uuid_clear@@UUID_1.0' /lib/x86_64-linux-gnu/libuuid.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:503: recipe for target 'glfsheal' failed While at it, clean some of the unused defines too. Backport of: > BUG: 1206587 > Change-Id: I2e513b2a806e6241542e60007d720cca16dabb06 > Reviewed-on: http://review.gluster.org/10453 > Signed-off-by: Niels de Vos <ndevos@redhat.com> BUG: 1217176 Change-Id: I2e513b2a806e6241542e60007d720cca16dabb06 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/10454 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'heal/src')
-rw-r--r--heal/src/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/heal/src/Makefile.am b/heal/src/Makefile.am
index acde4b15a88..512e9e64fde 100644
--- a/heal/src/Makefile.am
+++ b/heal/src/Makefile.am
@@ -6,7 +6,7 @@ glfsheal_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GF_LDADD)\
$(RLLIBS) $(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
$(top_builddir)/api/src/libgfapi.la \
- $(GF_GLUSTERFS_LIBS) $(XML_LIBS) $(GFAPI_LIBS)
+ $(XML_LIBS) $(GFAPI_LIBS) $(UUID_LIBS)
glfsheal_LDFLAGS = $(GF_LDFLAGS)
@@ -17,9 +17,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
-I$(top_srcdir)/api/src\
-I$(top_srcdir)/contrib/argp-standalone\
-DDATADIR=\"$(localstatedir)\" \
- -DCONFDIR=\"$(sysconfdir)/glusterfs\" \
- -DGSYNCD_PREFIX=\"$(libexecdir)/glusterfs\"\
- -DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) -DSBIN_DIR=\"$(sbindir)\"\
+ -DSBIN_DIR=\"$(sbindir)\" \
$(XML_CPPFLAGS)
AM_CFLAGS = -Wall $(GF_CFLAGS)