package/chrony: add optional support for libcap
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 14:48:41 +0000 (15:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 15:06:32 +0000 (16:06 +0100)
commite0b2041d44c32c7c6b6730137b23e4b3208ee109
tree014e0ea3a3592a84247979930fd5e74de234aa5b
parent4d04534d5aabfec8c5195c9e28c8530323ce7fd7
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>
package/chrony/chrony.mk