summaryrefslogtreecommitdiffstats
path: root/package/sqlite
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-05-20 23:58:32 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-21 12:06:11 +0200
commit7541b28aa7a91c682c50cfa82d33cbb450afc53c (patch)
treee8f91dacbd52bb6abf5b3b8ff92175a79ad59548 /package/sqlite
parentf7f978c7c3ac764b7d11cee7523e1320b2579a86 (diff)
downloadbuildroot-7541b28aa7a91c682c50cfa82d33cbb450afc53c.tar.gz
buildroot-7541b28aa7a91c682c50cfa82d33cbb450afc53c.zip
package/sqlite: fix parallel build failures
Fixes: http://autobuild.buildroot.org/results/aed/aed3690689b60844e3278626da3c3eb75f2a2586/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sqlite')
-rw-r--r--package/sqlite/0001-fix-parallel-build.patch22
-rw-r--r--package/sqlite/sqlite.mk3
2 files changed, 25 insertions, 0 deletions
diff --git a/package/sqlite/0001-fix-parallel-build.patch b/package/sqlite/0001-fix-parallel-build.patch
new file mode 100644
index 0000000000..79d80fbcb8
--- /dev/null
+++ b/package/sqlite/0001-fix-parallel-build.patch
@@ -0,0 +1,22 @@
+Use correct dependency in Makefile.am
+
+Depending on a libtool library should be done using the .la name, not on
+the object file.
+
+Fixes hard-to-reproduce parallel build failures, like so:
+ http://autobuild.buildroot.org/results/aed/aed3690689b60844e3278626da3c3eb75f2a2586/build-end.log
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+diff -durN sqlite-3081000.orig/Makefile.am sqlite-3081000/Makefile.am
+--- sqlite-3081000.orig/Makefile.am 2015-05-07 16:59:22.000000000 +0200
++++ sqlite-3081000/Makefile.am 2015-05-20 23:30:03.878784079 +0200
+@@ -7,7 +7,7 @@
+
+ bin_PROGRAMS = sqlite3
+ sqlite3_SOURCES = shell.c sqlite3.h
+-sqlite3_LDADD = sqlite3.$(OBJEXT) @READLINE_LIBS@
++sqlite3_LDADD = libsqlite3.la @READLINE_LIBS@
+
+ include_HEADERS = sqlite3.h sqlite3ext.h
+
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index fff219a9f8..b2283f082e 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -10,6 +10,9 @@ SQLITE_SITE = http://www.sqlite.org/2015
SQLITE_LICENSE = Public domain
SQLITE_INSTALL_STAGING = YES
+# Patching Makefile.am:
+SQLITE_AUTORECONF = YES
+
ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
endif
OpenPOWER on IntegriCloud