boost: fix missing select on BR2_PACKAGE_LIBICONV
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 11:30:32 +0000 (12:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 11:30:32 +0000 (12:30 +0100)
The boost package adds a dependency on the libiconv package when
boost-locale is selected but locale support is not available in the
toolchain. However, it forgets to select BR2_PACKAGE_LIBICONV in this
situation, causing the following build failure:

  http://autobuild.buildroot.org/results/ab1809f4fa8cf29208f9503edd90aca87fe397c2/

This commit fixes this mistake by adding the necessary select
BR2_PACKAGE_LIBICONV.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/Config.in

index 03935e8c82a7bf59cf46cfe1242478d120a7a99c..ed67285a58e32e53264cd5fddc6260ef2eddb037 100644 (file)
@@ -103,6 +103,7 @@ config BR2_PACKAGE_BOOST_IOSTREAMS
 
 config BR2_PACKAGE_BOOST_LOCALE
        bool "boost-locale"
+       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 
 config BR2_PACKAGE_BOOST_LOG
        bool "boost-log"