build: ensure libtp-test-contactlist is built before its dependents
authorTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 20 Mar 2013 19:43:23 +0000 (12:43 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 20 Mar 2013 19:45:20 +0000 (12:45 -0700)
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

index 594101b..0e6a1d9 100644 (file)
@@ -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