From: Bernd Kuhls Date: Sat, 20 Feb 2016 19:51:16 +0000 (+0100) Subject: package/syslog-ng: add optional support for libuuid from util-linux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aacc651dce40f406f74c90d92dd798e4df812c91;p=buildroot.git package/syslog-ng: add optional support for libuuid from util-linux When libuuid was compiled before, syslog-ng will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libsyslog-ng-3.7.so.0.0.0 | grep NEEDED | sort [...] 0x0000000000000001 (NEEDED) Shared library: [libuuid.so.1] The build system offers no option to en-/disable libuuid support: https://github.com/balabit/syslog-ng/blob/master/configure.ac#L1291 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk index 54593e4572..f11d8957ac 100644 --- a/package/syslog-ng/syslog-ng.mk +++ b/package/syslog-ng/syslog-ng.mk @@ -58,6 +58,10 @@ else SYSLOG_NG_CONF_OPTS += --disable-json endif +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +SYSLOG_NG_DEPENDENCIES += util-linux +endif + ifeq ($(BR2_INIT_SYSTEMD),y) SYSLOG_NG_DEPENDENCIES += systemd SYSLOG_NG_CONF_OPTS += \