add sdjournal interface to inject tests

The goal of the tests is not to test phosphor-logging, but rather allow
code to call through phosphor-logging/log<> during a test.

Change-Id: Id8c84ded473decc7f9f0be268116083093f86e54
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/phosphor-rsyslog-config/Makefile.am b/phosphor-rsyslog-config/Makefile.am
index 6aa48a3..806e30b 100644
--- a/phosphor-rsyslog-config/Makefile.am
+++ b/phosphor-rsyslog-config/Makefile.am
@@ -10,6 +10,9 @@
 	main.cpp \
 	server-conf.cpp
 
+phosphor_rsyslog_conf_LDADD = \
+	$(top_builddir)/sdjournal.o
+
 phosphor_rsyslog_conf_LDFLAGS = \
 	$(SDBUSPLUS_LIBS) \
 	$(PHOSPHOR_DBUS_INTERFACES_LIBS)