[Spice-devel] [PATCH] server: Move $(Z_LIBS) from INCLUDES to LIBADD in Makefile.am

Jürg Billeter j at bitron.ch
Sun Nov 27 07:02:18 PST 2011


This fixes undefined references to deflate* when building tests.

Signed-off-by: Jürg Billeter <j at bitron.ch>
---
 server/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index 34a6b47..1284704 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -6,7 +6,6 @@ INCLUDES = \
 	-I$(top_srcdir)				\
 	-I$(top_srcdir)/common			\
 	-DRED_STATISTICS			\
-	$(Z_LIBS)				\
 	$(CELT051_CFLAGS)			\
 	$(PIXMAN_CFLAGS)			\
 	$(PROTOCOL_CFLAGS)			\
@@ -48,6 +47,7 @@ libspice_server_la_LIBADD =				\
 	$(SASL_LIBS)					\
 	$(SLIRP_LIBS)					\
 	$(SSL_LIBS)					\
+	$(Z_LIBS)					\
 	$(NULL)
 
 libspice_server_la_SOURCES =			\
-- 
1.7.7.2




More information about the Spice-devel mailing list