871d75e9c2
The used version is actually named mariadb_client but since 2.1.0 upstream calls it MariaDB Connector/C. Change-Id: I51b12a9be55151919585dec91a5fc802ff4fc86b Reviewed-on: https://gerrit.libreoffice.org/42295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
36 lines
1.6 KiB
Makefile
36 lines
1.6 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_UnpackedTarball_UnpackedTarball,mariadb-connector-c))
|
|
|
|
$(eval $(call gb_UnpackedTarball_set_tarball,mariadb-connector-c,$(MARIADB_CONNECTOR_C_TARBALL)))
|
|
|
|
$(eval $(call gb_UnpackedTarball_add_file,mariadb-connector-c,include/mysql_version.h,external/mariadb-connector-c/configs/mysql_version.h))
|
|
|
|
ifneq ($(OS),WNT)
|
|
ifeq ($(OS),MACOSX)
|
|
$(eval $(call gb_UnpackedTarball_add_file,mariadb-connector-c,include/my_config.h,external/mariadb-connector-c/configs/mac_my_config.h))
|
|
else
|
|
$(eval $(call gb_UnpackedTarball_add_file,mariadb-connector-c,include/my_config.h,external/mariadb-connector-c/configs/linux_my_config.h))
|
|
endif
|
|
endif # $(OS),WNT
|
|
|
|
$(eval $(call gb_UnpackedTarball_set_patchlevel,mariadb-connector-c,1))
|
|
|
|
# mariadb-connector-c/mariadb-static-inline.patch upstream at
|
|
# <https://mariadb.atlassian.net/browse/CONC-18> "no external definition of
|
|
# non-static inline local_thr_alarm in libmariadb/net.c":
|
|
$(eval $(call gb_UnpackedTarball_add_patches,mariadb-connector-c,\
|
|
external/mariadb-connector-c/mariadb-swap.patch \
|
|
$(if $(filter MSC,$(COM)),external/mariadb-connector-c/mariadb-msvc.patch.1) \
|
|
external/mariadb-connector-c/mariadb-inline.patch.1 \
|
|
external/mariadb-connector-c/mariadb-CONC-104.patch.1 \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|