diff --git a/package/bandwidthd/Config.in b/package/bandwidthd/Config.in index 0d51f5e8a4..b4a47f2ec6 100644 --- a/package/bandwidthd/Config.in +++ b/package/bandwidthd/Config.in @@ -33,12 +33,16 @@ if BR2_PACKAGE_BANDWIDTHD config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL bool "enable postgresql log target support" select BR2_PACKAGE_POSTGRESQL + depends on !BR2_STATIC_LIBS help Enable support for logging the bandwidthd data to a remote (or local) postgresql server. This data can then be viewed 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 + config BR2_PACKAGE_BANDWIDTHD_SQLITE3 bool "enable sqlite3 log storage" select BR2_PACKAGE_SQLITE diff --git a/package/php/Config.ext b/package/php/Config.ext index 499509037e..5324e7958a 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -159,9 +159,14 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL bool "PostgreSQL" select BR2_PACKAGE_POSTGRESQL depends on BR2_USE_MMU # postgresql + depends on !BR2_STATIC_LIBS help PDO driver for PostgreSQL +comment "PostgreSQL drivers need a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in index 4c53703568..e9b8f48d4a 100644 --- a/package/postgresql/Config.in +++ b/package/postgresql/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_POSTGRESQL bool "postgresql" depends on BR2_USE_MMU # fork() + # fails to build in a pure static linking scenario, and + # postgresql is unlikely to be used in a pure statically + # linked environment. + depends on !BR2_STATIC_LIBS help PostgreSQL is a powerful, open source object-relational database system. @@ -13,3 +17,6 @@ config BR2_PACKAGE_POSTGRESQL archives with pg_dump and pg_restore. http://www.postgresql.org + +comment "postgresql needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/qt/Config.sql.in b/package/qt/Config.sql.in index 037837fd62..452edd5133 100644 --- a/package/qt/Config.sql.in +++ b/package/qt/Config.sql.in @@ -31,10 +31,14 @@ config BR2_PACKAGE_QT_ODBC config BR2_PACKAGE_QT_PSQL bool "PostgreSQL Driver" select BR2_PACKAGE_POSTGRESQL + depends on !BR2_STATIC_LIBS help Build PostgreSQL driver If unsure, say n. +comment "PostgreSQL driver needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT_SQLITE_NONE diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in index 20fd905849..df1d3dc57c 100644 --- a/package/qt5/qt5base/Config.in +++ b/package/qt5/qt5base/Config.in @@ -61,10 +61,15 @@ config BR2_PACKAGE_QT5BASE_PSQL bool "PostgreSQL Plugin" select BR2_PACKAGE_POSTGRESQL depends on BR2_USE_MMU # postgresql + depends on !BR2_STATIC_LIBS help Build PostgreSQL plugin If unsure, say n. +comment "PostgreSQL plugin needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + choice prompt "SQLite 3 support" default BR2_PACKAGE_QT5BASE_SQLITE_NONE