From 3ebe67c38d02120a445e9a750e541c26fc7f8bb2 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 10 Sep 2014 16:15:42 -0400
Subject: [PATCH] test: link against ccrtp deps for iptest

Rationale: this is slightly better than adding configure checks and linking
against "indirect" dependencies, since we don't want commoncpp or ucommon
unless we have ccrtp.

Refs #54913

Change-Id: I6d9fc37e57115c8108f2eb21c8f63f996e3e1876
---
 daemon/test/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/daemon/test/Makefile.am b/daemon/test/Makefile.am
index be8561a31f..adc1521b4e 100644
--- a/daemon/test/Makefile.am
+++ b/daemon/test/Makefile.am
@@ -6,7 +6,9 @@ check_PROGRAMS = test
 TESTS = run_tests.sh
 
 test_CXXFLAGS = -DWORKSPACE="$(top_srcdir)/test/" @PTHREAD_CFLAGS@
-test_LDADD = $(top_builddir)/src/libsflphone.la $(top_builddir)/src/libsflphone_la-logger.lo @CPPUNIT_LIBS@ @YAMLCPP_LIBS@
+test_LDADD = $(top_builddir)/src/libsflphone.la \
+             $(top_builddir)/src/libsflphone_la-logger.lo \
+             @CPPUNIT_LIBS@ @YAMLCPP_LIBS@ @CCRTP_LIBS@
 
 if BUILD_INSTANT_MESSAGING
 test_LDADD += @EXPAT_LIBS@
-- 
GitLab