package/cmake: propagate libuv dependencies
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 May 2017 21:01:55 +0000 (23:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 May 2017 19:43:36 +0000 (21:43 +0200)
In c2c06a6de02,  cmake version was bumped and a new dependency on libuv
was added, but it did not propagate all the dependencies of libuv,
missing sync_4 (probably because sync_4 was added after the patch was
sent on the list, but before it was applied to the tree).

Fix that, which fixes unmet dependencies.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cmake/Config.in

index 1c95d717b31f78b0d7acd921fa93131a1fe36756..64ab15418d23259e795dfbbd1bcc7f6e97f6ca95 100644 (file)
@@ -19,6 +19,7 @@ config BR2_PACKAGE_CMAKE_CTEST
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
        depends on BR2_USE_MMU # libuv
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
        select BR2_PACKAGE_CMAKE
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_JSONCPP
@@ -40,6 +41,7 @@ config BR2_PACKAGE_CMAKE_CTEST
 comment "ctest needs a toolchain w/ C++, wchar, dynamic library, gcc >= 4.7, NPTL"
        depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
        depends on BR2_USE_MMU
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
                !BR2_TOOLCHAIN_HAS_THREADS_NPTL