[Buildroot] [PATCH] syslog-ng: Specify location of libesmtp
Peter Korsgaard
peter at korsgaard.com
Tue Oct 20 19:32:57 UTC 2015
>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:
Hi,
>> SYSLOG_NG_CONF_OPTS += --disable-smtp
>> endif
> The buildroot package libestmp provides a libesmtp-config script, but
> it is installed into
> host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/bin/libesmtp-config
> where it is not found by the syslog-ng configure script...
Yes, $(STAGING_DIR)/usr/bin, similar to the other *-config scripts.
> Would a more portable solution be to add this search path (or fix the install
> location of libestmp-config) for the syslog-ng configure call (libesmtp-config
> --libs gives '-pthread -L[...]/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib
> -lesmtp -lssl -lcrypto -ldl')?
$(STAGING_DIR)/usr/bin contains binaries for the target (and *-config
scripts), so it shouldn't be added to the path, but another approach is
indeed to fix the configure script to look elsewhere for the script,
similar to how a bunch of packages allow the path to sdl-config to be
overridden through the SDL_CONFIG environment variable.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list