Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] fswebcam: disable static build
@ 2014-04-13  6:44 Baruch Siach
  2014-04-13  6:44 ` [Buildroot] [PATCH 2/2] fswebcam: bump version to 20140113 Baruch Siach
  2014-04-14 20:48 ` [Buildroot] [PATCH 1/2] fswebcam: disable static build Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2014-04-13  6:44 UTC (permalink / raw)
  To: buildroot

fswebcam doesn't play nicely with static build as it doesn't track its
indirect dependencies in link time. Fixing this requires tracking all indirect
optional dependencies, which is tedious and error prone. Just disable static
build.

This build failure didn't show on the autobuilder for some reason.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/fswebcam/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/fswebcam/Config.in b/package/fswebcam/Config.in
index a894d3b8ace4..03ab38f9f1bb 100644
--- a/package/fswebcam/Config.in
+++ b/package/fswebcam/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_FSWEBCAM
 	bool "fswebcam"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_PACKAGE_GD
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_JPEG
@@ -15,3 +16,7 @@ config BR2_PACKAGE_FSWEBCAM
 	  scp.
 
 	  http://www.firestorm.cx/fswebcam/
+
+comment "fswebcam needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_PREFER_STATIC_LIB
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-14 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13  6:44 [Buildroot] [PATCH 1/2] fswebcam: disable static build Baruch Siach
2014-04-13  6:44 ` [Buildroot] [PATCH 2/2] fswebcam: bump version to 20140113 Baruch Siach
2014-04-14 20:48 ` [Buildroot] [PATCH 1/2] fswebcam: disable static build Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox