[PATCH 2/3] tests: fix linkage using *_LDADD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]