zbar: enable static build
authorBaruch Siach <baruch@tkos.co.il>
Tue, 23 Jan 2018 12:43:45 +0000 (14:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 26 Jan 2018 12:38:43 +0000 (13:38 +0100)
libv4l supports static build since commit f837251785e9 (package/libv4l:
allow build of v4l2 utilities on noMMU platforms).

Cc: Volkov Viacheslav <sv99@inbox.ru>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/zbar/Config.in

index 5097f5743913d038b7d953894460fdaed18e148c..05c9b769ceedd04e759c4a30d05ba0cba38494eb 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_ZBAR
        bool "zbar"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libv4l
        depends on BR2_USE_MMU # libv4l
-       depends on !BR2_STATIC_LIBS # libv4l
        depends on BR2_INSTALL_LIBSTDCPP # libv4l
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libv4l
        select BR2_PACKAGE_JPEG
@@ -12,7 +11,7 @@ config BR2_PACKAGE_ZBAR
 
          http://zbar.sourceforge.net/
 
-comment "zbar needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
+comment "zbar needs a toolchain w/ threads, C++ and headers >= 3.0"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
+       depends on !BR2_TOOLCHAIN_HAS_THREADS \
                || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0