package/exiv2: needs threads

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>
This commit is contained in:
Bernd Kuhls 2017-06-04 10:04:56 +02:00 committed by Thomas Petazzoni
parent 4fc3338e53
commit 1fe1698d6e

View 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