boost: coroutine needs chrono, system, thread
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 3 Jul 2018 22:24:30 +0000 (00:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Jul 2018 20:31:19 +0000 (22:31 +0200)
output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-readelf -d output/staging/usr/lib/libboost_coroutine.so

Dynamic section at offset 0xdee8 contains 31 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libboost_chrono.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_context.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_thread.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_system.so.1.67.0]

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/boost/Config.in

index 5977bba63dafd2982a8db486cabc3d7d223c9a9e..510ed336e498b24c88cf203de29a2da6ffaba103 100644 (file)
@@ -101,7 +101,10 @@ config BR2_PACKAGE_BOOST_COROUTINE
        bool "boost-coroutine"
        depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context
+       select BR2_PACKAGE_BOOST_CHRONO
        select BR2_PACKAGE_BOOST_CONTEXT
+       select BR2_PACKAGE_BOOST_SYSTEM
+       select BR2_PACKAGE_BOOST_THREAD
        help
          deprecated coroutine library, the non-depricated coroutine2
          library is a header-only library and does not need to be