rsyslog/plugins/imuxsock/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
362 B
Makefile

pkglib_LTLIBRARIES = imuxsock.la
imuxsock_la_SOURCES = imuxsock.c
imuxsock_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
imuxsock_la_LDFLAGS = -module -avoid-version
imuxsock_la_LIBADD =
if ENABLE_LIBLOGGING_STDLOG
imuxsock_la_CPPFLAGS += $(LIBLOGGING_STDLOG_CFLAGS)
imuxsock_la_LDFLAGS += $(LIBLOGGING_STDLOG_LIBS)
endif