79d80fbcb8a832dcb5ba78d23dcffd32d9692270
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sqlite / 0001-fix-parallel-build.patch
1 Use correct dependency in Makefile.am
2
3 Depending on a libtool library should be done using the .la name, not on
4 the object file.
5
6 Fixes hard-to-reproduce parallel build failures, like so:
7     http://autobuild.buildroot.org/results/aed/aed3690689b60844e3278626da3c3eb75f2a2586/build-end.log
8
9 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10
11 diff -durN sqlite-3081000.orig/Makefile.am sqlite-3081000/Makefile.am
12 --- sqlite-3081000.orig/Makefile.am     2015-05-07 16:59:22.000000000 +0200
13 +++ sqlite-3081000/Makefile.am  2015-05-20 23:30:03.878784079 +0200
14 @@ -7,7 +7,7 @@
15  
16  bin_PROGRAMS = sqlite3
17  sqlite3_SOURCES = shell.c sqlite3.h
18 -sqlite3_LDADD = sqlite3.$(OBJEXT) @READLINE_LIBS@
19 +sqlite3_LDADD = libsqlite3.la @READLINE_LIBS@
20  
21  include_HEADERS = sqlite3.h sqlite3ext.h
22