aboutsummaryrefslogtreecommitdiffstats
path: root/mk/smtpd
diff options
context:
space:
mode:
authorCharles Longeau <github@chl.be>2014-06-16 17:51:01 +0200
committerCharles Longeau <github@chl.be>2014-06-16 17:51:01 +0200
commit327b6cf85258465bf575dc4f156d718a15ed09e0 (patch)
tree07f79eb4d55d2fdaae165c5ab0d1581df785aeb2 /mk/smtpd
parentSync openbsd-compat/openbsd-compat.h from portable OpenSSH. While there, more stuff to openbsd-compat/defines.h (diff)
downloadOpenSMTPD-327b6cf85258465bf575dc4f156d718a15ed09e0.tar.xz
OpenSMTPD-327b6cf85258465bf575dc4f156d718a15ed09e0.zip
Only link with LibDB when needed
Diffstat (limited to 'mk/smtpd')
-rw-r--r--mk/smtpd/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/smtpd/Makefile.am b/mk/smtpd/Makefile.am
index e7c97a05..cdf05062 100644
--- a/mk/smtpd/Makefile.am
+++ b/mk/smtpd/Makefile.am
@@ -101,7 +101,7 @@ AM_CPPFLAGS= -I$(smtpd_srcdir) \
LIBCOMPAT= $(top_builddir)/openbsd-compat/libopenbsd-compat.a
-LDADD= $(LIBCOMPAT)
+LDADD= $(LIBCOMPAT) $(DB_LIB)
# need to define _GNU_SOURCE to get:
# EAI_NODATA defined