diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-18 23:05:41 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2019-01-19 22:40:18 +0100 |
commit | c3183b072a0986b5c58bd5a4a296ef8e5c57f887 (patch) | |
tree | 1b396f95053fad4eff5a66293ef1a25108de8648 | |
parent | 6e6b257d546039b9207cda32e4c281fecba87ae1 (diff) | |
download | buildroot-c3183b072a0986b5c58bd5a4a296ef8e5c57f887.tar.gz buildroot-c3183b072a0986b5c58bd5a4a296ef8e5c57f887.zip |
unixodbc: needs dynamic library
Fixes:
- http://autobuild.buildroot.org/results/1036ee061ce7f7747d5514c61866da60bcfae769
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Peter: propagate to PHP_EXT_PDO_UNIXODBC as well]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/php/Config.ext | 4 | ||||
-rw-r--r-- | package/qt/Config.sql.in | 4 | ||||
-rw-r--r-- | package/unixodbc/Config.in | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext index 9a90e0a8a4..d71cfb9986 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -175,10 +175,14 @@ config BR2_PACKAGE_PHP_EXT_PDO_SQLITE config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC bool "unixODBC" + depends on !BR2_STATIC_LIBS # unixodbc select BR2_PACKAGE_UNIXODBC help unixODBC driver for PDO +comment "unixodbc driver needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + endif comment "Human language and character encoding support" diff --git a/package/qt/Config.sql.in b/package/qt/Config.sql.in index 1e7f6ba799..71a198242f 100644 --- a/package/qt/Config.sql.in +++ b/package/qt/Config.sql.in @@ -16,11 +16,15 @@ config BR2_PACKAGE_QT_MYSQL config BR2_PACKAGE_QT_ODBC bool "ODBC Driver" + depends on !BR2_STATIC_LIBS # unixodbc select BR2_PACKAGE_UNIXODBC help Build ODBC driver If unsure, say n. +comment "ODBC driver needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_QT_PSQL bool "PostgreSQL Driver" depends on !BR2_STATIC_LIBS diff --git a/package/unixodbc/Config.in b/package/unixodbc/Config.in index d5434d1ef1..eb0ad9c541 100644 --- a/package/unixodbc/Config.in +++ b/package/unixodbc/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_UNIXODBC bool "unixodbc" + depends on !BR2_STATIC_LIBS # dlopen() help The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. http://www.unixodbc.org + +comment "unixodbc needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS |