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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
fee0703d8c
commit
aacc651dce
@ -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 += \
|
||||
|
Loading…
Reference in New Issue
Block a user