aboutsummaryrefslogtreecommitdiffstats
path: root/mk/smtpctl
diff options
context:
space:
mode:
authorFreddy DISSAUX <dsx@bsdsx.fr>2018-06-17 09:17:18 +0200
committerFreddy DISSAUX <dsx@bsdsx.fr>2018-06-17 09:17:18 +0200
commit165c0026f81138fbe8d3f4b0801cf74c15f3b0a6 (patch)
tree7f22db5ca6512a971afc57f358eef73b909ebc53 /mk/smtpctl
parentfix include err.h (diff)
downloadOpenSMTPD-165c0026f81138fbe8d3f4b0801cf74c15f3b0a6.tar.xz
OpenSMTPD-165c0026f81138fbe8d3f4b0801cf74c15f3b0a6.zip
add support of split openbsd-compat
Diffstat (limited to 'mk/smtpctl')
-rw-r--r--mk/smtpctl/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/smtpctl/Makefile.am b/mk/smtpctl/Makefile.am
index d1c13304..cdd2ff33 100644
--- a/mk/smtpctl/Makefile.am
+++ b/mk/smtpctl/Makefile.am
@@ -41,6 +41,9 @@ smtpctl_CFLAGS+= -DPATH_GZCAT=\"$(ZCAT)\" \
AM_CPPFLAGS= -I$(top_srcdir)/smtpd \
-I$(top_srcdir)/openbsd-compat
+if !SUPPORT_ERR_H
+AM_CPPFLAGS += -I$(top_srcdir)/openbsd-compat/err_h
+endif
LIBCOMPAT= $(top_builddir)/openbsd-compat/libopenbsd-compat.a