summaryrefslogtreecommitdiffstats
path: root/package/postgresql/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-16 16:12:44 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-05-16 17:24:16 +0200
commitb9f709e4200c8e2e1c2d34a010897601f7e5c808 (patch)
treee9db4f946096692b7c9b5c6eb5deacbca5c3c2e5 /package/postgresql/Config.in
parentc69bafe0aef71b9846866270da9462c3492d9508 (diff)
downloadbuildroot-b9f709e4200c8e2e1c2d34a010897601f7e5c808.tar.gz
buildroot-b9f709e4200c8e2e1c2d34a010897601f7e5c808.zip
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>
Diffstat (limited to 'package/postgresql/Config.in')
-rw-r--r--package/postgresql/Config.in7
1 files changed, 7 insertions, 0 deletions
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
OpenPOWER on IntegriCloud