[Spice-devel] [PATCH 2/3] tests: fix linkage using *_LDADD
Victor Toso
victortoso at redhat.com
Fri Feb 27 07:35:48 PST 2015
---
tests/Makefile.am | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b236b12..0985a76 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,7 +18,17 @@ LDADD = \
$(top_builddir)/gtk/libspice-client-glib-2.0.la \
$(NULL)
-util_SOURCES = util.c
-coroutine_SOURCES = coroutine.c
+util_SOURCES = \
+ util.c
+
+util_LDADD = \
+ $(top_builddir)/gtk/.libs/spice-util.o
+
+coroutine_SOURCES = \
+ coroutine.c
+
+coroutine_LDADD = \
+ $(top_builddir)/gtk/.libs/coroutine_ucontext.o \
+ $(top_builddir)/gtk/.libs/continuation.o
-include $(top_srcdir)/git.mk
--
2.1.0
More information about the Spice-devel
mailing list