package/zsh: add optional support for libcap
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 09:50:11 +0000 (10:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 11:42:43 +0000 (12:42 +0100)
commit3fc55da0e8479fc6103af80c3a08334fbaacc5cc
tree4ea7fabef31baca8fb874d79bac5cd749b12fb46
parentd8692be657f59b1e11b8a61d9e75aac598e8b86a
package/zsh: add optional support for libcap

When libcap was compiled before, zsh will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/bin/zsh | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libgdbm.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/zsh/zsh.mk