diff options
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 9a0de08553..28a33282ae 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -13,7 +13,7 @@ def sqlite_download_version(d): | |||
13 | 13 | ||
14 | SQLITE_PV = "${@sqlite_download_version(d)}" | 14 | SQLITE_PV = "${@sqlite_download_version(d)}" |
15 | 15 | ||
16 | S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" | 16 | S = "${UNPACKDIR}/sqlite-autoconf-${SQLITE_PV}" |
17 | 17 | ||
18 | UPSTREAM_CHECK_URI = "http://www.sqlite.org/" | 18 | UPSTREAM_CHECK_URI = "http://www.sqlite.org/" |
19 | UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html" | 19 | UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html" |
@@ -45,14 +45,14 @@ EXTRA_OECONF = " \ | |||
45 | " | 45 | " |
46 | 46 | ||
47 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it | 47 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it |
48 | CFLAGS:append = " -DUSE_PREAD" | 48 | CFLAGS += "-DUSE_PREAD" |
49 | 49 | ||
50 | # Provide column meta-data API | 50 | # Provide column meta-data API |
51 | CFLAGS:append = " -DSQLITE_ENABLE_COLUMN_METADATA" | 51 | CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |
52 | 52 | ||
53 | # Unless SQLITE_BYTEORDER is predefined, the code falls back to build time | 53 | # Unless SQLITE_BYTEORDER is predefined, the code falls back to build time |
54 | # huristics, which are not always correct | 54 | # huristics, which are not always correct |
55 | CFLAGS:append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" | 55 | CFLAGS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" |
56 | 56 | ||
57 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 57 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
58 | 58 | ||