[Nbd] [PATCH v3 1/2] build: Distribute netdb-compat.h without relying on tests
- To: nbd-general@lists.sourceforge.net
- Subject: [Nbd] [PATCH v3 1/2] build: Distribute netdb-compat.h without relying on tests
- From: Eric Blake <eblake@...696...>
- Date: Wed, 19 Oct 2016 14:37:14 -0500
- Message-id: <1476905835-30341-2-git-send-email-eblake@...696...>
- In-reply-to: <1476905835-30341-1-git-send-email-eblake@...696...>
- References: <1476905835-30341-1-git-send-email-eblake@...696...>
nbd-server depends on netdb-compat.h; however, we were only
including it in the tarball as a side effect of it also being
used by the testsuite. Make the dependency explicit.
Signed-off-by: Eric Blake <eblake@...696...>
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 32774e3..36d35b6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,8 @@ noinst_LTLIBRARIES = libnbdsrv.la libcliserv.la
libcliserv_la_SOURCES = cliserv.h cliserv.c
libcliserv_la_CFLAGS = @CFLAGS@
nbd_client_SOURCES = nbd-client.c cliserv.h
-nbd_server_SOURCES = nbd-server.c cliserv.h lfs.h nbd.h nbdsrv.h backend.h
+nbd_server_SOURCES = nbd-server.c cliserv.h lfs.h nbd.h nbdsrv.h backend.h \
+ netdb-compat.h
nbd_trdump_SOURCES = nbd-trdump.c cliserv.h nbd.h
nbd_server_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ @GnuTLS_CFLAGS@
nbd_trdump_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@
--
2.7.4
Reply to: