diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-22 17:26:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-25 12:44:12 +0000 |
commit | 39f6a9e47d8ff8d8d2be29deea282b3bce966958 (patch) | |
tree | bbae8d869b2ddb705d4071862b5174c22af1297d | |
parent | 9b2835e690fb3f3ed2b9febe65eb5a84906faba0 (diff) | |
download | poky-39f6a9e47d8ff8d8d2be29deea282b3bce966958.tar.gz |
sqlite3.inc: dynamically link the sqlite3 command-line utility
By default, the sqlite3 command-line utility will be statically linked
with sqlite3. For OE, dynamic linking is probably more appropriate and
can be enabled by configuring with "--disable-static-shell".
(From OE-Core rev: 432952090b2faa14437d550f58a00a364d554b2e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 540d2b6314..87cdf26146 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -24,7 +24,12 @@ PACKAGECONFIG_class-native = "" | |||
24 | 24 | ||
25 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" | 25 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" |
26 | 26 | ||
27 | EXTRA_OECONF = "--enable-shared --enable-threadsafe --disable-editline" | 27 | EXTRA_OECONF = " \ |
28 | --enable-shared \ | ||
29 | --enable-threadsafe \ | ||
30 | --disable-editline \ | ||
31 | --disable-static-shell \ | ||
32 | " | ||
28 | 33 | ||
29 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it | 34 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it |
30 | BUILD_CFLAGS += "-DUSE_PREAD" | 35 | BUILD_CFLAGS += "-DUSE_PREAD" |