mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
package/chrony: add optional support for libcap
When libcap was compiled before, chrony will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/chronyd | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libm.so.1] 0x0000000000000001 (NEEDED) Shared library: [libcap.so.2] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1] 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] 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
4d04534d5a
commit
e0b2041d44
@ -16,6 +16,12 @@ CHRONY_CONF_OPTS = \
|
|||||||
--without-seccomp \
|
--without-seccomp \
|
||||||
--without-tomcrypt
|
--without-tomcrypt
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||||
|
CHRONY_DEPENDENCIES += libcap
|
||||||
|
else
|
||||||
|
CHRONY_CONF_OPTS += --without-libcap
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
||||||
CHRONY_DEPENDENCIES += host-pkgconf libnss
|
CHRONY_DEPENDENCIES += host-pkgconf libnss
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user