summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/sqlite')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 044af5ee97..4af1e09e80 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -19,7 +19,7 @@ UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html"
19 19
20CVE_PRODUCT = "sqlite" 20CVE_PRODUCT = "sqlite"
21 21
22inherit autotools pkgconfig 22inherit autotools pkgconfig siteinfo
23 23
24# enable those which are enabled by default in configure 24# enable those which are enabled by default in configure
25PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext" 25PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext"
@@ -52,6 +52,10 @@ CFLAGS_append = " -DUSE_PREAD"
52# Provide column meta-data API 52# Provide column meta-data API
53CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA" 53CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA"
54 54
55# Unless SQLITE_BYTEORDER is predefined, the code falls back to build time
56# huristics, which are not always correct
57CFLAGS_append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}"
58
55PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" 59PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
56 60
57FILES_${PN} = "${bindir}/*" 61FILES_${PN} = "${bindir}/*"