From cf23c6e16217a9bc52e73799ad70cae22dc7a746 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 23 Feb 2017 11:37:58 +0100 Subject: build: refactor - tcmu-runner and targetcli are not build dependencies - use pkg-config to get libgfapi build parameters - cleanup .spec file Change-Id: Ib1451f7a375438cd2e78ae4137d1d02e01516fbd Signed-off-by: Niels de Vos --- rpc/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc') diff --git a/rpc/Makefile.am b/rpc/Makefile.am index 9f85e23..66717bb 100644 --- a/rpc/Makefile.am +++ b/rpc/Makefile.am @@ -5,10 +5,10 @@ libgbxdr_la_SOURCES = block_clnt.c block_xdr.c block_svc.c \ noinst_HEADERS = block.h glfs-operations.h -libgbxdr_la_CFLAGS = -DDATADIR=\"$(localstatedir)\" \ +libgbxdr_la_CFLAGS = $(GFAPI_CFLAGS) -DDATADIR=\"$(localstatedir)\" \ -I$(top_srcdir)/utils/ -libgbxdr_la_LIBADD = $(GFAPI) $(UUID) +libgbxdr_la_LIBADD = $(GFAPI_LIBS) $(UUID) libgbxdr_ladir = $(includedir)/gluster-block/rpc -- cgit