fswebcam: disable static build
PATCH 1/2 fswebcam: disable static build
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.
--- package/fswebcam/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
package/fswebcam/Config.in +5 -0
@@ -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
Signature · 1 line
1.9.1
PATCH 2/2 fswebcam: bump version to 20140113
--- package/fswebcam/fswebcam.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/fswebcam/fswebcam.mk +1 -1
@@ -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
Signature · 1 line
1.9.1
PATCH 1/2 fswebcam: disable static build
In reply to Baruch SiachDear Baruch Siach,
Quoted 11 lines · Baruch Siach
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 <[email protected]>--- 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com