poco: the Zip module depends on XML, Net and Util modules
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Feb 2012 22:29:25 +0000 (23:29 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 Feb 2012 22:38:33 +0000 (23:38 +0100)
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>
package/poco/Config.in

index 241e3043092d7d4961a6f3191b0e8cd3ddd2b055..36d8de91f13eb0e831d54c7b9258cafc33d4c2b5 100644 (file)
@@ -37,6 +37,9 @@ config BR2_PACKAGE_POCO_NETSSL_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