[syslog-ng] [PATCH (3.4)] afsmtp: Fix the module linkage
Balazs Scheidler
bazsi77 at gmail.com
Sat Aug 18 13:37:31 CEST 2012
Merged, thanks Gergely.
On Fri, 2012-08-17 at 10:34 +0200, Gergely Nagy wrote:
> Use $(MODULE_DEPS_LIBS) and $(MODULE_LDFLAGS) instead of trying to
> grab all the libs.
>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
> modules/afsmtp/Makefile.am | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/modules/afsmtp/Makefile.am b/modules/afsmtp/Makefile.am
> index bb5b94d..34c0e98 100644
> --- a/modules/afsmtp/Makefile.am
> +++ b/modules/afsmtp/Makefile.am
> @@ -6,10 +6,10 @@ export top_srcdir
> if ENABLE_SMTP
> module_LTLIBRARIES = libafsmtp.la
>
> -libafsmtp_la_CFLAGS = $(LIBESMTP_CFLAGS) $(IVYKIS_CFLAGS) $(EVENTLOG_CFLAGS) $(SYSLOG_NG_CFLAGS)
> +libafsmtp_la_CFLAGS = $(LIBESMTP_CFLAGS)
> libafsmtp_la_SOURCES = afsmtp-grammar.y afsmtp.c afsmtp.h afsmtp-parser.c afsmtp-parser.h
> -libafsmtp_la_LIBADD = $(LIBESMTP_LIBS) $(IVYKIS_LIBS) $(EVENTLOG_LIBS) $(SYSLOG_NG_LIBS)
> -libafsmtp_la_LDFLAGS = -avoid-version
> +libafsmtp_la_LIBADD = $(LIBESMTP_LIBS) $(MODULE_DEPS_LIBS)
> +libafsmtp_la_LDFLAGS = $(MODULE_LDFLAGS)
>
> endif
>
More information about the syslog-ng
mailing list