Merge pull request #190 from jnpkrn/build-syslog-tests-followup

build: syslog tests follow-up
This commit is contained in:
Chrissie Caulfield 2016-03-01 15:34:11 +00:00
commit 043cebb29e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,5 @@
%bcond_without syslog_tests
%global alphatag @alphatag@
%global numcomm @numcomm@
%global dirty @dirty@
@ -24,7 +26,8 @@ and polling.
%build
./autogen.sh
%configure --disable-static
%configure --disable-static \
%{?with_syslog_tests:--enable-syslog-tests}
make %{?_smp_mflags}
%check

View File

@ -151,7 +151,7 @@ if HAVE_SYSLOG_TESTS
log_test_LDADD += _syslog_override.la
lib_LTLIBRARIES = _syslog_override.la
_syslog_override_la_SOURCES = _syslog_override.c
_syslog_override_la_SOURCES = _syslog_override.c _syslog_override.h
_syslog_override_la_LDFLAGS = -module
endif