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>
This commit is contained in:
Andre McCurdy
2016-01-22 17:26:00 -08:00
committed by Richard Purdie
parent 939de8d520
commit 6188419d27

View File

@@ -1,15 +1,16 @@
SUMMARY = "Embeddable SQL database engine"
HOMEPAGE = "http://www.sqlite.org"
SECTION = "libs"
DEPENDS = "readline ncurses"
DEPENDS_class-native = ""
LICENSE = "PD"
inherit autotools pkgconfig
EXTRA_OECONF = "--enable-shared --enable-threadsafe"
EXTRA_OECONF_class-native = "--enable-shared --enable-threadsafe --disable-readline"
PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
PACKAGECONFIG ?= ""
PACKAGECONFIG_class-native = ""
PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses"
EXTRA_OECONF = "--enable-shared --enable-threadsafe --disable-editline"
export config_BUILD_CC = "${BUILD_CC}"
export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"