diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-02-23 11:37:58 +0100 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-25 16:22:22 +0530 |
commit | cf23c6e16217a9bc52e73799ad70cae22dc7a746 (patch) | |
tree | 4ee7f0bfda4276461a73db1e5c25a68ead3ec36d /rpc | |
parent | 9f1c8a5ba49e7cad67b7ebf6e3e119eeb32a7ff0 (diff) |
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 <ndevos@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
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 |