fswebcam: disable static build
authorBaruch Siach <baruch@tkos.co.il>
Sun, 13 Apr 2014 06:44:16 +0000 (09:44 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 20:47:06 +0000 (22:47 +0200)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/fswebcam/Config.in

index a894d3b8ace46c69c5d36e6612bd550a4deb7369..03ab38f9f1bb0a0465076b45ee60049117a77da8 100644 (file)
@@ -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