From 0d3759fa8b4c0ba1c2d747ab96b9fd2442488635 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 29 Apr 2015 21:03:39 +0200 Subject: 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. BUG: 1206587 Change-Id: I2e513b2a806e6241542e60007d720cca16dabb06 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/10453 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- heal/src/Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'heal/src/Makefile.am') 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) -- cgit