From e8deaf877c2e25c1249e5327ecd38d1935072a2c Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 10 Sep 2014 14:59:45 -0400
Subject: [PATCH] test: fix linking for instant messaging

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

diff --git a/daemon/test/Makefile.am b/daemon/test/Makefile.am
index 9b519ca578..be8561a31f 100644
--- a/daemon/test/Makefile.am
+++ b/daemon/test/Makefile.am
@@ -8,6 +8,10 @@ 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@
 
+if BUILD_INSTANT_MESSAGING
+test_LDADD += @EXPAT_LIBS@
+endif
+
 EXTRA_DIST = sflphoned-sample.yml history-sample.tpl run_tests.sh
 test_SOURCES = constants.h \
 			   test_utils.h \
-- 
GitLab