diff options
author | Alex J Lennon <ajlennon@dynamicdevices.co.uk> | 2013-11-06 18:15:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-08 17:25:34 +0000 |
commit | 575dc3be347f3047d1012c273deb8fd5365f38ae (patch) | |
tree | f523c31de41c1003b84e799bb84ed3bbd3740f4e /meta/recipes-support | |
parent | 43cce83f93bf3b040048f65cf2525d805a65b5bc (diff) | |
download | poky-575dc3be347f3047d1012c273deb8fd5365f38ae.tar.gz |
sqlite3: Add support for column metadata API
I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.
ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333
The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.
I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6
- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6
(From OE-Core rev: 9fb82ebab552d1808bae3b4898dd05022913165b)
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
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/sqlite/sqlite3_3080002.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3_3080002.bb b/meta/recipes-support/sqlite/sqlite3_3080002.bb index 91dc6dd49b..18ff292fc1 100644 --- a/meta/recipes-support/sqlite/sqlite3_3080002.bb +++ b/meta/recipes-support/sqlite/sqlite3_3080002.bb | |||
@@ -8,3 +8,8 @@ SRC_URI[md5sum] = "6d6cc639a4da04fbbdda7b1a1a01b386" | |||
8 | SRC_URI[sha256sum] = "fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2" | 8 | SRC_URI[sha256sum] = "fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2" |
9 | 9 | ||
10 | S = "${WORKDIR}/sqlite-autoconf-${PV}" | 10 | S = "${WORKDIR}/sqlite-autoconf-${PV}" |
11 | |||
12 | # Provide column meta-data API | ||
13 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
14 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
15 | |||