[Buildroot] [PATCH] syslog-ng: Specify location of libesmtp

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Oct 21 08:27:11 UTC 2015


Dear Chris Packham,

On Wed, 21 Oct 2015 20:41:54 +1300, Chris Packham wrote:

> The way the test is implemented in configure.ac libestmp-config is
> invoked directly so it would need to be on the path. Or I could look
> at an upstream patch to change this to something that can be
> overridden. I'd almost prefer if libesmtp had pkg-config support which
> integrates better with autotools and buildroot has existing support
> for.

As Peter suggested, the way we usually fix that is by replacing the
direct invocation of <foo>-config in configure.ac by
${FOO_CONFIG:foo-config}, so that it can be overridden in the
environment.

However, the current --with-<foo> solution that you have used is fine
for me. We do use this solution for numerous packages, so I'm fine with
using it as well for syslog-ng.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list