summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-22 17:26:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-25 12:44:12 +0000
commit39f6a9e47d8ff8d8d2be29deea282b3bce966958 (patch)
treebbae8d869b2ddb705d4071862b5174c22af1297d
parent9b2835e690fb3f3ed2b9febe65eb5a84906faba0 (diff)
downloadpoky-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.inc7
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
25PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" 25PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses"
26 26
27EXTRA_OECONF = "--enable-shared --enable-threadsafe --disable-editline" 27EXTRA_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
30BUILD_CFLAGS += "-DUSE_PREAD" 35BUILD_CFLAGS += "-DUSE_PREAD"