From: Andre McCurdy Date: Sat, 23 Jan 2016 01:26:03 +0000 (-0800) Subject: sqlite3.inc: dynamically link the sqlite3 command-line utility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27403 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432952090b2faa14437d550f58a00a364d554b2e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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". Signed-off-by: Andre McCurdy Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 540d2b63148..87cdf261461 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc @@ -24,7 +24,12 @@ PACKAGECONFIG_class-native = "" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" -EXTRA_OECONF = "--enable-shared --enable-threadsafe --disable-editline" +EXTRA_OECONF = " \ + --enable-shared \ + --enable-threadsafe \ + --disable-editline \ + --disable-static-shell \ +" # pread() is in POSIX.1-2001 so any reasonable system must surely support it BUILD_CFLAGS += "-DUSE_PREAD"