postgresql: mark as not available for static linking

postgresql currently does not build in BR2_STATIC_LIBS=y
configurations, and since there is little interest in using such a big
piece of software in statically linked configuration, this commit
makes postgresql depends on !BR2_STATIC_LIBS.

Fixes:

  http://autobuild.buildroot.net/results/f9ed96d22e91cdba9ad92c4d4ea52e422bf1f1c9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2015-05-16 16:12:44 +02:00
committed by Peter Korsgaard
parent c69bafe0ae
commit b9f709e420
5 changed files with 25 additions and 0 deletions

View File

@@ -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