config BR2_PACKAGE_LIBQB
bool "libqb"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBXML2
help
Library for client-server applications
https://github.com/ClusterLabs/libqb
+
+comment "libqb needs a toolchain w/ threads, dynamic library"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
LIBQB_AUTORECONF = YES
LIBQB_DEPENDENCIES = libxml2
+# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
+# provided by autoconf relies on wchar_t.
+LIBQB_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
+
$(eval $(autotools-package))
bool "usbguard"
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
depends on BR2_INSTALL_LIBSTDCPP # protobuf
- depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
- depends on !BR2_STATIC_LIBS # protobuf
+ depends on !BR2_STATIC_LIBS # libqb, protobuf
select BR2_PACKAGE_PROTOBUF
select BR2_PACKAGE_LIBQB
help