diff options
| -rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 6 |
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 | ||
| 20 | CVE_PRODUCT = "sqlite" | 20 | CVE_PRODUCT = "sqlite" |
| 21 | 21 | ||
| 22 | inherit autotools pkgconfig | 22 | inherit 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 |
| 25 | PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext" | 25 | PACKAGECONFIG ?= "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 |
| 53 | CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA" | 53 | CFLAGS_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 | ||
| 57 | CFLAGS_append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" | ||
| 58 | |||
| 55 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 59 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
| 56 | 60 | ||
| 57 | FILES_${PN} = "${bindir}/*" | 61 | FILES_${PN} = "${bindir}/*" |
