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

When pcre 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: [libpcre.so.1]
[...]

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