kompexsqlite: needs threads and wchar
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 20 Nov 2015 15:19:07 +0000 (12:19 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Nov 2015 22:24:27 +0000 (23:24 +0100)
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>
package/kompexsqlite/Config.in

index b6d7d7f1ae7eae0d488c6482fc35302e9af812ad..5b7184257770b8d5cc51fc0f1b3b0a09b61ce7be 100644 (file)
@@ -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