[Buildroot] [PATCH v2 2/2] package/cmake: not available on static-only build

Samuel Martin s.martin49 at gmail.com
Tue Mar 17 09:30:39 UTC 2015


Fixes:
  http://autobuild.buildroot.net/results/9f7/9f7c8d5078cd1f3cd493f9ae8e95c8ee728f98fd/

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>

---
changes v1->v2:
- rebase

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
 package/cmake/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/cmake/Config.in b/package/cmake/Config.in
index 9c0b75a..3bdfb13 100644
--- a/package/cmake/Config.in
+++ b/package/cmake/Config.in
@@ -19,6 +19,7 @@ config BR2_PACKAGE_CMAKE_CTEST
 		BR2_i386 || BR2_x86_64
 	depends on BR2_USE_WCHAR # libarchive
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS
 	help
 	  CTest is a testing tool distributed as a part of CMake. It
 	  can be used to automate updating (using CVS for example),
@@ -28,7 +29,7 @@ config BR2_PACKAGE_CMAKE_CTEST
 
 	  http://www.cmake.org/
 
-comment "ctest needs a toolchain w/ C++, wchar"
+comment "ctest needs a toolchain w/ C++, wchar, dynamic library"
 	depends on BR2_arm || BR2_armeb || \
 		BR2_aarch64 || \
 		BR2_m68k || \
@@ -36,4 +37,4 @@ comment "ctest needs a toolchain w/ C++, wchar"
 		BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
 		BR2_sparc || \
 		BR2_i386 || BR2_x86_64
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
-- 
2.1.0




More information about the buildroot mailing list