diff --git a/server/Makefile.am b/server/Makefile.am index 74d3a824..38c346c2 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -35,8 +35,8 @@ 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 + -Wl,--version-script=$(srcdir)/spice-server.syms +EXTRA_libspice_server_la_DEPENDENCIES = $(srcdir)/spice-server.syms endif libserver_la_LIBADD = \ diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index 971575b5..ad55eb76 100644 --- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -1,7 +1,7 @@ NULL = @VALGRIND_CHECK_RULES@ -VALGRIND_SUPPRESSIONS_FILES = $(top_srcdir)/server/tests/valgrind/glib.supp +VALGRIND_SUPPRESSIONS_FILES = $(srcdir)/valgrind/glib.supp EXTRA_DIST = \ $(VALGRIND_SUPPRESSIONS_FILES) \ pki/ca-cert.pem \