Files
poky/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
Roy Li b5ba70b47f sqlite3: upgrade to 3.8.10
upgrade to include CVE fixes:
    CVE-2015-3414
    CVE-2015-3415
    CVE-2015-3416

(From OE-Core rev: 346505144a18b738846b9d5bc6f146426d3572ba)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20 21:41:10 +01:00

31 lines
837 B
Diff

[PATCH] using the dynamic library
Upstream-Status: Inappropriate [configuration]
building statically-linked sqlite3 failed since sqlite3.o is generated in
different dir, even if link successes, the size of sqlite3 is become larger,
so use the dynamic link, ref: http://patchwork.openembedded.org/patch/93293/
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 88bc23d..fe50f20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,8 @@ libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8
bin_PROGRAMS = sqlite3
sqlite3_SOURCES = shell.c sqlite3.h
-sqlite3_LDADD = sqlite3.$(OBJEXT) @READLINE_LIBS@
+sqlite3_LDADD = @READLINE_LIBS@ libsqlite3.la
+
include_HEADERS = sqlite3.h sqlite3ext.h
--
1.9.1