[folks] build: ensure libtp-test-contactlist is built before its dependents



commit 733d0733579fe9872575e13d1f930c075572ee89
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Mar 20 12:43:23 2013 -0700

    build: ensure libtp-test-contactlist is built before its dependents
    
    Autotools somehow wasn't picking up the dependencies correctly, so this
    forces it to build the support library first.
    
    As the comment says, there's probably a better fix but time is precious.

 tests/lib/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
index 594101b..0e6a1d9 100644
--- a/tests/lib/Makefile.am
+++ b/tests/lib/Makefile.am
@@ -5,7 +5,13 @@ SUBDIRS = \
        $(NULL)
 
 if ENABLE_TELEPATHY
-SUBDIRS += telepathy
+# Build the contactlist first because autotools fails to recognize the
+# dependencies implicitly. There may be a better way to fix this, but then I'd
+# have to spend more time working with autotools.
+SUBDIRS += \
+       telepathy/contactlist \
+       telepathy \
+       $(NULL)
 endif
 
 if ENABLE_LIBSOCIALWEB


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