diff --git a/tests/Makefile.am b/tests/Makefile.am index 3b8a15034..4dbe6d8af 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -150,7 +150,7 @@ log_test_LDADD = $(top_builddir)/lib/libqb.la @CHECK_LIBS@ if HAVE_SYSLOG_TESTS log_test_LDADD += _syslog_override.la -lib_LTLIBRARIES = _syslog_override.la +check_LTLIBRARIES = _syslog_override.la _syslog_override_la_SOURCES = _syslog_override.c _syslog_override.h _syslog_override_la_LDFLAGS = -module endif