summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-22 17:26:00 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-25 12:44:12 +0000
commit6188419d27ee2c8a3ec3631fb575837203952b2c (patch)
treed50204a92705d1a8c2d5ddda5a8916667dcd093a /meta/recipes-support
parent939de8d52082f0c1f93dfc3b81daeaf5fc45999b (diff)
downloadpoky-6188419d27ee2c8a3ec3631fb575837203952b2c.tar.gz
sqlite3.inc: fix readline PACKAGECONFIG
Make it clearer that readline support for the target build is now disabled by default. Since readline dependencies and configure options are now handled by PACKAGECONFIG, avoid duplicating readline in DEPENDS or duplicating --disable-readline in EXTRA_OECONF. Also add --disable-editline to EXTRA_OECONF to avoid a potential floating dependency, since the configure script checks for libedit before it checks for libreadline. (From OE-Core rev: 2d93f7d6a93e9a4f9f4683e378c939f59461d803) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 5eb5de3b01..7245285594 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -1,15 +1,16 @@
1SUMMARY = "Embeddable SQL database engine" 1SUMMARY = "Embeddable SQL database engine"
2HOMEPAGE = "http://www.sqlite.org" 2HOMEPAGE = "http://www.sqlite.org"
3SECTION = "libs" 3SECTION = "libs"
4DEPENDS = "readline ncurses"
5DEPENDS_class-native = ""
6LICENSE = "PD" 4LICENSE = "PD"
7 5
8inherit autotools pkgconfig 6inherit autotools pkgconfig
9 7
10EXTRA_OECONF = "--enable-shared --enable-threadsafe" 8PACKAGECONFIG ?= ""
11EXTRA_OECONF_class-native = "--enable-shared --enable-threadsafe --disable-readline" 9PACKAGECONFIG_class-native = ""
12PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" 10
11PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses"
12
13EXTRA_OECONF = "--enable-shared --enable-threadsafe --disable-editline"
13 14
14export config_BUILD_CC = "${BUILD_CC}" 15export config_BUILD_CC = "${BUILD_CC}"
15export config_BUILD_CFLAGS = "${BUILD_CFLAGS}" 16export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"