buildroot/package/poco/Config.in
Thomas Petazzoni 1b1fcb638e poco: the Zip module depends on XML, Net and Util modules
Without this, in a configuration where the Zip module is selected but
not the XML module, the build fails due to missing expat.h. This is
because POCO builds the XML module as soon as the Zip module is
enabled.

This fixes the build breakage visible at:

  http://free-electrons.com/~thomas/buildroot/test-output-2011-12-02/test-920-output.bz2

with the configuration visible at:

  http://free-electrons.com/~thomas/buildroot/test-output-2011-12-02/test-920-config

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02 23:38:33 +01:00

61 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_POCO
bool "poco"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_PCRE
help
The C++ Portable Components Libraries
http://pocoproject.org
if BR2_PACKAGE_POCO
comment "poco components"
config BR2_PACKAGE_POCO_XML
bool "xml"
select BR2_PACKAGE_EXPAT
config BR2_PACKAGE_POCO_UTIL
bool "util"
select BR2_PACKAGE_POCO_XML
config BR2_PACKAGE_POCO_NET
bool "net"
config BR2_PACKAGE_POCO_CRYPTO
bool "crypto"
select BR2_PACKAGE_OPENSSL
config BR2_PACKAGE_POCO_NETSSL_OPENSSL
bool "netssl_openssl"
select BR2_PACKAGE_POCO_NET
select BR2_PACKAGE_POCO_CRYPTO
select BR2_PACKAGE_POCO_UTIL
select BR2_PACKAGE_OPENSSL
config BR2_PACKAGE_POCO_ZIP
bool "zip"
select BR2_PACKAGE_POCO_XML
select BR2_PACKAGE_POCO_NET
select BR2_PACKAGE_POCO_UTIL
config BR2_PACKAGE_POCO_DATA
bool
config BR2_PACKAGE_POCO_DATA_SQLITE
bool "sqlite"
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_SQLITE
config BR2_PACKAGE_POCO_DATA_MYSQL
bool "mysql"
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_MYSQL_CLIENT
endif # BR2_PACKAGE_POCO
comment "poco requires a toolchain with WCHAR and C++ support"
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP