* [Buildroot] [PATCH 1/1] motion: fix static build with webp
@ 2018-11-21 19:02 Fabrice Fontaine
2018-11-21 19:56 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-11-21 19:02 UTC (permalink / raw)
To: buildroot
Static build with webp fails because webp is put before webpmux
Fixes:
- http://autobuild.buildroot.org/results/4d4e72808300ba1ff79ca794930112b554eb2533
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../motion/0001-fix-static-linking-with-webp.patch | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 package/motion/0001-fix-static-linking-with-webp.patch
diff --git a/package/motion/0001-fix-static-linking-with-webp.patch b/package/motion/0001-fix-static-linking-with-webp.patch
new file mode 100644
index 0000000000..0bf0c9953d
--- /dev/null
+++ b/package/motion/0001-fix-static-linking-with-webp.patch
@@ -0,0 +1,32 @@
+From 3e59613c286316e963d98ea99ded35ded4361c48 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Wed, 21 Nov 2018 18:55:31 +0100
+Subject: [PATCH] fix static linking with webp
+
+Static build with webp fails because webp is put before webpmux
+
+Fixes:
+ - http://autobuild.buildroot.org/results/4d4e72808300ba1ff79ca794930112b554eb2533
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: ]https://github.com/Motion-Project/motion/pull/850]
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 89179e5..60147fb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -276,7 +276,7 @@ if test "${WEBP}" = "yes"; then
+ AC_MSG_RESULT(found)
+ AC_DEFINE([HAVE_WEBP], 1, [Define to 1 if WEBP is around])
+ HAVE_WEBP="yes"
+- TEMP_LIBS="$TEMP_LIBS -lwebp -lwebpmux"
++ TEMP_LIBS="$TEMP_LIBS -lwebpmux -lwebp"
+ else
+ AC_MSG_RESULT(not found)
+ fi
+--
+2.14.1
+
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-21 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-21 19:02 [Buildroot] [PATCH 1/1] motion: fix static build with webp Fabrice Fontaine
2018-11-21 19:56 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox