package/exiv2: needs threads
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 4 Jun 2017 08:04:56 +0000 (10:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 5 Jun 2017 09:51:52 +0000 (11:51 +0200)
Exiv2 itself depends on threads, not only with xmp support.

Follow-up patch for http://patchwork.ozlabs.org/patch/770813/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/exiv2/Config.in

index a94e5cd8f88de7dd9c01d78b7fa6a64fa26bffe7..7358283a66c959411422711297adba5b0f3ff29a 100644 (file)
@@ -1,11 +1,12 @@
-comment "exiv2 needs a toolchain w/ C++, wchar, dynamic library"
+comment "exiv2 needs a toolchain w/ C++, wchar, dynamic library, threads"
        depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
-               || !BR2_USE_WCHAR
+               || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_EXIV2
        bool "exiv2"
        depends on !BR2_STATIC_LIBS
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR
        help
          Exiv2 is a C++ library and a command line utility to manage
@@ -39,14 +40,10 @@ config BR2_PACKAGE_EXIV2_PNG
 
 config BR2_PACKAGE_EXIV2_XMP
        bool "XMP support"
-       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_EXPAT
        help
          Build with XMP support
 
-comment "xmp support needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
-
 config BR2_PACKAGE_EXIV2_LENSDATA
        bool "Nikon lens name database"
        depends on !BR2_PACKAGE_EXIV2_COMMERCIAL