summaryrefslogtreecommitdiff
path: root/package/syslog-ng
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2015-10-20 21:16:31 +1300
committerPeter Korsgaard <peter@korsgaard.com>2015-10-20 11:33:25 +0200
commit6e088b101d3981c0b57250a70e45a0fe349172bf (patch)
tree2c49e4e44414b295dfbc18f2e7efe947e90397f1 /package/syslog-ng
parent8da1239a12276baa9e8193c7ed49da3234d2900c (diff)
syslog-ng: Specify location of libesmtp
If --with-libesmtp is omitted a host tool is invoked to detect the location of the library and headers, which is obviously the wrong thing for a cross-compile environment. Explicitly add --with-libesmtp to resolve this. Fixes: http://git.buildroot.net/buildroot/commit/?id=539acb7500588d0a277357cf831c9f25f770578d http://git.buildroot.net/buildroot/commit/?id=01f41585a78406f6e830d5eaf4413a983812a299 Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/syslog-ng')
-rw-r--r--package/syslog-ng/syslog-ng.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index 7371060d6..2bbace890 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -37,6 +37,7 @@ endif
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
SYSLOG_NG_DEPENDENCIES += libesmtp
SYSLOG_NG_CONF_OPTS += --enable-smtp
+SYSLOG_NG_CONF_OPTS += --with-libesmtp="$(STAGING_DIR)/usr"
else
SYSLOG_NG_CONF_OPTS += --disable-smtp
endif