From 534b71dfaaf78e8ab2991bbb105f5601f23e7e16 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 1 Mar 2012 12:16:15 +0100 Subject: build-sys: fix make distcheck - Do not refer to .c files managed by another makefile (this will fail make distclean) - Do not refer to files by relative path (should use $top_srcdir for ex) - Use LDADD for object linking instead of LDFLAGS, for linker flags --- server/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/Makefile.am') diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index 31c8372a..61fad758 100644 --- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -13,12 +13,12 @@ if SUPPORT_AUTOMATED_TESTS INCLUDES += -DAUTOMATED_TESTS endif -AM_LDFLAGS = \ +LDADD = \ + $(top_builddir)/common/libspice-common.la \ $(top_builddir)/server/libspice-server.la \ $(NULL) COMMON_BASE = \ - ../../common/backtrace.c \ basic_event_loop.c \ basic_event_loop.h \ test_util.h \ -- cgit