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 <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2017-12-07 17:06:45 +01:00
parent e030f87cf0
commit c9b9a5fd35

View File

@ -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 = \