[Buildroot] [PATCH] [autobuild] package/lightning: fix build for static-only

Yann E. MORIN yann.morin.1998 at free.fr
Thu Aug 13 14:58:28 UTC 2015


Fixes:
    http://autobuild.buildroot.org/results/019/019b6f2ac034766a4266e20e5dcc229bec4a7222/
    http://autobuild.buildroot.org/results/55d/55d30db7212863d9f898bb929f0c75d529036bad/
    http://autobuild.buildroot.org/results/459/459ab12bc3eeb493f39efa2450bc829a351ee3a3/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Paul Cercueil <paul at crapouillou.net>
---
 package/lightning/0003-no-check-no-doc.patch | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 package/lightning/0003-no-check-no-doc.patch

diff --git a/package/lightning/0003-no-check-no-doc.patch b/package/lightning/0003-no-check-no-doc.patch
new file mode 100644
index 0000000..91a1684
--- /dev/null
+++ b/package/lightning/0003-no-check-no-doc.patch
@@ -0,0 +1,21 @@
+Makefile: do not build checks or docs
+
+checks require a toolchain with shared libs, so they FTBFS when the
+build is static-only.
+
+Docs we don't care about in Buildroot.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
+
+diff -durN lightning-2.0.5.orig/Makefile.am lightning-2.0.5/Makefile.am
+--- lightning-2.0.5.orig/Makefile.am	2013-09-24 05:37:46.000000000 +0200
++++ lightning-2.0.5/Makefile.am	2015-08-13 16:27:20.626730913 +0200
+@@ -17,8 +17,6 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ SUBDIRS =		\
+-	check		\
+-	doc		\
+ 	include		\
+ 	lib
+ 
-- 
1.9.1



More information about the buildroot mailing list