From c9b9a5fd353a2bdcdcb84b9bf69b066a56ce478a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 7 Dec 2017 17:06:45 +0100 Subject: [PATCH] build: Rebuild shared library when symbol file changes 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 Acked-by: Frediano Ziglio --- server/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Makefile.am b/server/Makefile.am index 8ea258db..74d3a824 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 = \