Skip to contentSkip to conversation

unixodbc: needs dynamic library

PATCH New Fabrice Fontaine 2 participants 3 messages Jan 18, 2019 – Jan 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unixodbc: needs dynamic library

Fixes:
- http://autobuild.buildroot.org/results/1036ee061ce7f7747d5514c61866da60bcfae769

---
 package/qt/Config.sql.in   | 4 ++++
 package/unixodbc/Config.in | 4 ++++
 2 files changed, 8 insertions(+)
package/qt/Config.sql.in +4 -0
index 1e7f6ba799..71a198242f 100644
@@ -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
package/unixodbc/Config.in +4 -0
index d5434d1ef1..eb0ad9c541 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 unixodbc: needs dynamic library

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fixes:
- http://autobuild.buildroot.org/results/1036ee061ce7f7747d5514c61866da60bcfae769

---
 package/qt/Config.sql.in   | 4 ++++
 package/unixodbc/Config.in | 4 ++++
 2 files changed, 8 insertions(+)

You forgot to also propagate to the php unixodbc driver. Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard