1176b02a1c
libqb fails to build without threads or dynamic library since the
addition of the package in commit
22864d570d
Also add ac_cv_prog_cc_c99=-std=gnu99 to fix build failure without wchar
Fixes:
- http://autobuild.buildroot.org/results/21c1b5d29da4949f4582056ab4e2335ec225d8d6
- http://autobuild.buildroot.org/results/aa4df6364cdf3c862be13b6b738595f420ec6105
- http://autobuild.buildroot.org/results/376d316094238ba7097e8bdc51960ba38532683a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
858 B
Plaintext
23 lines
858 B
Plaintext
config BR2_PACKAGE_USBGUARD
|
|
bool "usbguard"
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
|
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
|
|
depends on !BR2_STATIC_LIBS # libqb, protobuf
|
|
select BR2_PACKAGE_PROTOBUF
|
|
select BR2_PACKAGE_LIBQB
|
|
help
|
|
The USBGuard software framework
|
|
|
|
Install a custom accept/deny list in /etc/usbguard/rules.conf
|
|
(e.g. using an overlay). This file can be generated on the
|
|
target using "usbguard generate-policy".
|
|
|
|
https://usbguard.github.io/
|
|
|
|
comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|