rsyslog/rsyslog — pull request #92 by deymo (2014-06-16 07:48:23+00:00)
Title: plugins: Remove $(RSRT_LIBS) from imuxsock's LIBADD

imuxsock.c plugin uses some functions from sd-daemon.h that are
compiled as part of librsyslog.a. Including $(RSRT_LIB) to the LIBADD
variable on these plugins means that we are linking librsyslog.a
statically into that plugin. Nevertheless, the rsyslogd binary
already includes librsyslog.a and exposes its symbols. Because of
this, we can let those functions undefined in the plugin .so file
and let dlopen() link those undefined functions against the global
symbols from rsyslogd.