diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-06-17 18:09:43 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-08-12 23:15:21 +0200 |
commit | 3478d7453a3d65b3d8d164e8f898a0b79f005c58 (patch) | |
tree | 9443239e076b735e2def217b66d7c305e8eaf254 /mysqlc/Library_mysqlc.mk | |
parent | f465685aecf508be987ae199e77667af896a5e8f (diff) |
Switch from mysql to MariaDB C API
In order to get rid of the MySQL C++ Connector, the sdbc driver should
be implemented using the MariaDB C connector instead. MariaDB
Connector/C is LGPL licensed, so later it can be used in the
connectivity module. This way mysqlc won't be an extension, so it could
be maintained easier.
Change-Id: I99c13ccf154b33b145d34b1e06eec85946dc82a0
Reviewed-on: https://gerrit.libreoffice.org/55960
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Tested-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'mysqlc/Library_mysqlc.mk')
-rw-r--r-- | mysqlc/Library_mysqlc.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysqlc/Library_mysqlc.mk b/mysqlc/Library_mysqlc.mk index 97f2b63500a2..39c6230d2f05 100644 --- a/mysqlc/Library_mysqlc.mk +++ b/mysqlc/Library_mysqlc.mk @@ -12,12 +12,14 @@ $(eval $(call gb_Library_Library,mysqlc)) $(eval $(call gb_Library_use_externals,mysqlc,\ boost_headers \ mysql-connector-cpp \ + mariadb-connector-c \ )) ifeq ($(SYSTEM_MYSQL_CONNECTOR_CPP),) $(eval $(call gb_Library_add_libs,mysqlc,\ $(if $(filter-out WNT,$(OS)),$(if $(filter MACOSX SOLARIS,$(OS)),-lz -lm,\ -rdynamic -lz -lcrypt -lm)) \ + $(if $(filter LINUX,$(OS)),-lpthread -ldl,) \ )) endif @@ -46,6 +48,7 @@ $(eval $(call gb_Library_add_exception_objects,mysqlc,\ mysqlc/source/mysqlc_services \ mysqlc/source/mysqlc_connection \ mysqlc/source/mysqlc_resultset \ + mysqlc/source/mysqlc_prepared_resultset \ mysqlc/source/mysqlc_resultsetmetadata \ mysqlc/source/mysqlc_statement \ mysqlc/source/mysqlc_preparedstatement \ |