diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-01 12:16:15 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-01 16:24:10 +0100 |
commit | 534b71dfaaf78e8ab2991bbb105f5601f23e7e16 (patch) | |
tree | d806718b3d2b4f291dec815a32cb43cffe8313ee /server/tests | |
parent | 22ee470d4ef45e3dcfa74ebf6adc0816227d16e5 (diff) | |
download | spice-534b71dfaaf78e8ab2991bbb105f5601f23e7e16.tar.gz spice-534b71dfaaf78e8ab2991bbb105f5601f23e7e16.tar.xz spice-534b71dfaaf78e8ab2991bbb105f5601f23e7e16.zip |
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
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |