[Spice-devel] [PATCH 3/4] fix make distcheck

Christophe Fergeau cfergeau at redhat.com
Thu Jul 21 09:49:04 PDT 2011


---
 client/smartcard_channel.cpp |    2 +-
 common/backtrace.c           |    2 +-
 server/Makefile.am           |    9 +++++----
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/client/smartcard_channel.cpp b/client/smartcard_channel.cpp
index e0e9b88..11a6be0 100644
--- a/client/smartcard_channel.cpp
+++ b/client/smartcard_channel.cpp
@@ -20,7 +20,7 @@
 
 #include <spice/enums.h>
 
-#include "client/red_client.h"
+#include "red_client.h"
 #include "mutex.h"
 
 extern "C" {
diff --git a/common/backtrace.c b/common/backtrace.c
index d606dd9..650dc1d 100644
--- a/common/backtrace.c
+++ b/common/backtrace.c
@@ -28,7 +28,7 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include "common/spice_common.h"
+#include "spice_common.h"
 
 #define GSTACK_PATH "/usr/bin/gstack"
 
diff --git a/server/Makefile.am b/server/Makefile.am
index d94f9fb..7af59a6 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -32,10 +32,10 @@ generated_marshallers.h: $(top_srcdir)/spice.proto
 
 lib_LTLIBRARIES = libspice-server.la
 
-libspice_server_la_LDFLAGS =			\
-	-version-number $(SPICE_LT_VERSION)	\
-	-Wl,--version-script=spice-server.syms	\
-	-no-undefined				\
+libspice_server_la_LDFLAGS =						\
+	-version-number $(SPICE_LT_VERSION)				\
+	-Wl,--version-script=$(top_srcdir)/server/spice-server.syms	\
+	-no-undefined							\
 	$(NULL)
 
 libspice_server_la_LIBADD =				\
@@ -129,6 +129,7 @@ libspice_serverinclude_HEADERS =		\
 EXTRA_DIST =					\
 	glz_encode_match_tmpl.c			\
 	glz_encode_tmpl.c			\
+	spice-server.syms			\
 	$(NULL)
 
 BUILT_SOURCES = $(spice_built_sources)
-- 
1.7.6



More information about the Spice-devel mailing list