* [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
* [Buildroot] [PATCH 2/2] fswebcam: bump version to 20140113
2014-04-13 6:44 [Buildroot] [PATCH 1/2] fswebcam: disable static build Baruch Siach
@ 2014-04-13 6:44 ` Baruch Siach
2014-04-14 20:48 ` [Buildroot] [PATCH 1/2] fswebcam: disable static build Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2014-04-13 6:44 UTC (permalink / raw)
To: buildroot
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/fswebcam/fswebcam.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/fswebcam/fswebcam.mk b/package/fswebcam/fswebcam.mk
index 2275fb56a639..357341ce2e7e 100644
--- a/package/fswebcam/fswebcam.mk
+++ b/package/fswebcam/fswebcam.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FSWEBCAM_VERSION = 20110717
+FSWEBCAM_VERSION = 20140113
FSWEBCAM_SITE = http://www.firestorm.cx/fswebcam/files/
FSWEBCAM_LICENSE = GPLv2
FSWEBCAM_LICENSE_FILES = LICENSE
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] fswebcam: disable static build
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 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-04-14 20:48 UTC (permalink / raw)
To: buildroot
Dear Baruch Siach,
On Sun, 13 Apr 2014 09:44:16 +0300, Baruch Siach wrote:
> 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(+)
Both applied. I would have preferred to fix static linking, but I agree
it's pretty unlikely that anyone will ever use such an application
statically linked and so it's probably not worth the effort.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [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