package/nfs-utils: add optional support for libcap
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 14:48:43 +0000 (15:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 17:21:26 +0000 (18:21 +0100)
commitbe589759ee12d47a44512cb5a4b17f5824991aa5
tree252395ac3488db4246f6e5256b0b308f7d70ffb6
parent46143f16834987dce379a88d98ce7068cabfe29f
package/nfs-utils: add optional support for libcap

When libcap was compiled before, nfs-utils will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/sm-notify | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libtirpc.so.3]
 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/nfs-utils/nfs-utils.mk