[spice-server] build: Rebuild shared library when symbol file changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At the moment, changing spice-server.syms to add/remove a new symbol to
be exported does not regenerate spice-server.so. This commit added the
needed dependency for this to work.

Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
---
 server/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/Makefile.am b/server/Makefile.am
index 20f0f1925..f64cd6062 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -36,6 +36,7 @@ libspice_server_la_LDFLAGS =			\
 if HAVE_LD_VERSION_SCRIPT
 libspice_server_la_LDFLAGS += \
 	-Wl,--version-script=$(top_srcdir)/server/spice-server.syms
+EXTRA_libspice_server_la_DEPENDENCIES = $(top_srcdir)/server/spice-server.syms
 endif
 
 libserver_la_LIBADD =							\
-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]