rsyslog/plugins/imudp/Makefile.am
Thomas Deutschmann d5ffe6e10e
build system: don't link liblogging-stdlog when available but not enabled
When liblogging-stdlog was available but configure option "--disable-liblogging-stdlog"
was set, rsyslog was still linking against liblogging-stdlog.

This commit will ensure that rsyslog will only link against liblogging-stdlog when
"--enable-liblogging-stdlog" was set.

Bug: https://bugs.gentoo.org/667836
2018-11-03 23:21:29 +01:00

12 lines
332 B
Makefile

pkglib_LTLIBRARIES = imudp.la
imudp_la_SOURCES = imudp.c
imudp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
imudp_la_LDFLAGS = -module -avoid-version
imudp_la_LIBADD = $(IMUDP_LIBS)
if ENABLE_LIBLOGGING_STDLOG
imudp_la_CPPFLAGS += $(LIBLOGGING_STDLOG_CFLAGS)
imudp_la_LDFLAGS += $(LIBLOGGING_STDLOG_LIBS)
endif