diff options
author | Phil Blundell <pb@pbcl.net> | 2013-04-25 16:00:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-29 14:45:07 +0100 |
commit | f18ba44ab3e4af4fa1a31b6804eaa5f1f2298596 (patch) | |
tree | 4dad03dc01ed308b33c80ab9799854a1ef8cc827 /meta/recipes-support | |
parent | b48db72ee7cd608d3d4598bc54f1b05bbc698d94 (diff) | |
download | poky-f18ba44ab3e4af4fa1a31b6804eaa5f1f2298596.tar.gz |
libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]
The only place in pcre that requires readline is pcretest, and even there it's
optional. This allows the dependency to be removed unless specifically requested.
(From OE-Core rev: 5bf7397cdb91d8ab0f2a525484eee9a3cec25f87)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.32.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb index 4d17741625..a2a8d808e2 100644 --- a/meta/recipes-support/libpcre/libpcre_8.32.bb +++ b/meta/recipes-support/libpcre/libpcre_8.32.bb | |||
@@ -20,7 +20,9 @@ S = "${WORKDIR}/pcre-${PV}" | |||
20 | FILESPATH .= ":${@base_set_filespath([bb.which(BBPATH, 'recipes-support/libpcre/files', direction=True)], d)}" | 20 | FILESPATH .= ":${@base_set_filespath([bb.which(BBPATH, 'recipes-support/libpcre/files', direction=True)], d)}" |
21 | 21 | ||
22 | PROVIDES += "pcre" | 22 | PROVIDES += "pcre" |
23 | DEPENDS += "bzip2 zlib readline" | 23 | DEPENDS += "bzip2 zlib" |
24 | |||
25 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," | ||
24 | 26 | ||
25 | inherit autotools binconfig | 27 | inherit autotools binconfig |
26 | 28 | ||