diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-27 11:45:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-08-27 13:34:45 +0200 |
commit | 91e6d9c757ee16a3219b57aca9b6b00b99a840f1 (patch) | |
tree | 8b75350144caa17d054fe093fec4170ad2387e12 | |
parent | 966aa588964fef159b3dce45ea2dc70389a975af (diff) |
Android: disable mariadb
Change-Id: I32502b6b412afbe4c46a6efe0ca49dc50913673d
Reviewed-on: https://gerrit.libreoffice.org/59651
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | postprocess/Rdb_services.mk | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 72d560d1b8d6..26f66b92d1a3 100644 --- a/configure.ac +++ b/configure.ac @@ -8316,10 +8316,15 @@ AC_SUBST(PYTHON_VERSION_MAJOR) AC_SUBST(PYTHON_VERSION_MINOR) ENABLE_MARIADBC=TRUE +if test "$_os" = "Android"; then + ENABLE_MARIADBC= +fi MARIADBC_MAJOR=1 MARIADBC_MINOR=0 MARIADBC_MICRO=2 -BUILD_TYPE="$BUILD_TYPE MARIADBC" +if test "$ENABLE_MARIADBC" = "TRUE"; then + BUILD_TYPE="$BUILD_TYPE MARIADBC" +fi AC_SUBST(ENABLE_MARIADBC) AC_SUBST(MARIADBC_MAJOR) diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk index 054af64345af..e5ab844e28ad 100644 --- a/postprocess/Rdb_services.mk +++ b/postprocess/Rdb_services.mk @@ -257,7 +257,9 @@ $(eval $(call gb_Rdb_add_components,services,\ connectivity/source/drivers/firebird/firebird_sdbc \ ) \ connectivity/source/drivers/flat/flat \ - connectivity/source/drivers/mysqlc/mysqlc \ + $(if $(ENABLE_MARIADBC), \ + connectivity/source/drivers/mysqlc/mysqlc \ + ) \ $(if $(filter MACOSX,$(OS)), \ connectivity/source/drivers/macab/macab1 \ ) \ |