summaryrefslogtreecommitdiffstats
path: root/package/bandwidthd/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/bandwidthd/Config.in')
-rw-r--r--package/bandwidthd/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in
index 8a19733c2c..5a3529e0c4 100644
--- a/package/bandwidthd/Config.in
+++ b/package/bandwidthd/Config.in
@@ -35,6 +35,7 @@ if BR2_PACKAGE_BANDWIDTHD
config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
bool "enable postgresql log target support"
depends on !BR2_STATIC_LIBS
+ depends on BR2_USE_WCHAR # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Enable support for logging the bandwidthd data to a remote
@@ -42,8 +43,8 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
through a php site. See README in the source code
(github.com/nroach44/bandwidthd) for more information.
-comment "postgresql support needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
+comment "postgresql support needs a toolchain w/ dynamic library, wchar"
+ depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
config BR2_PACKAGE_BANDWIDTHD_SQLITE3
bool "enable sqlite3 log storage"
OpenPOWER on IntegriCloud