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>
This commit is contained in:
Fabrice Fontaine 2019-01-18 23:05:41 +01:00 committed by Peter Korsgaard
parent 6e6b257d54
commit c3183b072a
3 changed files with 12 additions and 0 deletions

View File

@ -175,10 +175,14 @@ config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC
bool "unixODBC" bool "unixODBC"
depends on !BR2_STATIC_LIBS # unixodbc
select BR2_PACKAGE_UNIXODBC select BR2_PACKAGE_UNIXODBC
help help
unixODBC driver for PDO unixODBC driver for PDO
comment "unixodbc driver needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif endif
comment "Human language and character encoding support" comment "Human language and character encoding support"

View File

@ -16,11 +16,15 @@ config BR2_PACKAGE_QT_MYSQL
config BR2_PACKAGE_QT_ODBC config BR2_PACKAGE_QT_ODBC
bool "ODBC Driver" bool "ODBC Driver"
depends on !BR2_STATIC_LIBS # unixodbc
select BR2_PACKAGE_UNIXODBC select BR2_PACKAGE_UNIXODBC
help help
Build ODBC driver Build ODBC driver
If unsure, say n. If unsure, say n.
comment "ODBC driver needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_QT_PSQL config BR2_PACKAGE_QT_PSQL
bool "PostgreSQL Driver" bool "PostgreSQL Driver"
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS

View File

@ -1,8 +1,12 @@
config BR2_PACKAGE_UNIXODBC config BR2_PACKAGE_UNIXODBC
bool "unixodbc" bool "unixodbc"
depends on !BR2_STATIC_LIBS # dlopen()
help help
The unixODBC Project goals are to develop and promote The unixODBC Project goals are to develop and promote
unixODBC to be the definitive standard for ODBC on non MS unixODBC to be the definitive standard for ODBC on non MS
Windows platforms. Windows platforms.
http://www.unixodbc.org http://www.unixodbc.org
comment "unixodbc needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS