Browse Source

kompexsqlite: needs threads and wchar

Wchar is used by the wrapper, fixes:
http://autobuild.buildroot.net/results/763/763d9aff86085b67077fc665e462cee81962246d/

Threads can be disabled by the sqlite build system, but since
kompexsqlite doesn't use the sqlite buildsystem and only uses a bundled
version it falls back to the default for *nixes (enabled), fixes:
http://autobuild.buildroot.net/results/c0b/c0b65be99603a2c2f07a38078f6b5622353915ca/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 9 years ago
parent
commit
f5646333c3
1 changed files with 5 additions and 2 deletions
  1. 5 2
      package/kompexsqlite/Config.in

+ 5 - 2
package/kompexsqlite/Config.in

@@ -1,5 +1,7 @@
 config BR2_PACKAGE_KOMPEXSQLITE
 	bool "kompexsqlite"
+	depends on BR2_USE_WCHAR
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS
 	help
@@ -8,5 +10,6 @@ config BR2_PACKAGE_KOMPEXSQLITE
 
 	  http://sqlitewrapper.kompex-online.com/index.php
 
-comment "kompexsqlite needs a toolchain w/ C++, dynamic library"
-	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+comment "kompexsqlite needs a toolchain w/ C++, wchar, threads, dynamic library"
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS