unixodbc: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 18 Jan 2019 22:05:41 +0000 (23:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 19 Jan 2019 21:40:18 +0000 (22:40 +0100)
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>
package/php/Config.ext
package/qt/Config.sql.in
package/unixodbc/Config.in

index 9a90e0a8a4cfe1c6bf00a4066304a7c4af1452ca..d71cfb9986ed57ba62e2041c8583bfb448630463 100644 (file)
@@ -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"
index 1e7f6ba799874193a66e3604140557752a6a479f..71a198242f971eaddf3912b93a7c64e9b9d017ff 100644 (file)
@@ -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
index d5434d1ef12ce870ecf464c44b6d81f28ddc0966..eb0ad9c541495dc51b1721de38392d44d621b5cc 100644 (file)
@@ -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