Fix missing symbols when linking while building with libgsasl

This fixes guthub issue #85, reported by jpalus. Thanks!
pull/89/head
Martin Lambers 2 months ago
parent 43f0e4bece
commit c7ec6d484e
  1. 11
      src/Makefile.am

@ -4,8 +4,10 @@ msmtp_SOURCES = \
conf.c conf.h \
eval.c eval.h \
list.c list.h \
md5.c md5.h \
md5-apps.c md5-apps.h \
msgid.c msgid.h \
msmtp.c \
msgid.c msgid.h \
net.c net.h \
netrc.c netrc.h \
readbuf.c readbuf.h \
@ -16,7 +18,7 @@ msmtp_SOURCES = \
gettext.h \
aliases.c aliases.h \
password.c password.h \
base64.c base64.h
base64.c base64.h
if HAVE_TLS
msmtp_SOURCES += mtls.c mtls.h
@ -31,11 +33,6 @@ if HAVE_LIBTLS
msmtp_SOURCES += mtls-libtls.c
endif
if HAVE_LIBGSASL
else
msmtp_SOURCES += md5.c md5.h md5-apps.c md5-apps.h
endif
AM_CPPFLAGS = $(tls_CFLAGS) $(libgsasl_CFLAGS) $(libidn2_CFLAGS) $(libsecret_CFLAGS)
msmtp_LDADD = $(tls_LIBS) $(libgsasl_LIBS) $(libidn2_LIBS) $(libsecret_LIBS) $(LIBINTL)

Loading…
Cancel
Save