Don't do CppunitTest_connectivity_mysql_test unless ENABLE_MARIADBC

It won't even be attempted, make will complain:
.../solenv/gbuild/ComponentTarget.mk:81: *** No LIBFILENAME set at component target: .../workdir/ComponentTarget/connectivity/source/drivers/mysqlc/mysqlc.component. Stop.

Change-Id: I7be5953fb40bfc2034ed4ddf348e1c5e68a85b19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197256
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
This commit is contained in:
Tor Lillqvist
2026-01-14 14:25:45 +01:00
committed by Tor Lillqvist
parent 38372e10ab
commit d3d7943ddf
+3 -4
View File
@@ -90,6 +90,9 @@ $(eval $(call gb_Module_add_targets,connectivity,\
Configuration_mysql \
Library_mysqlc \
))
$(eval $(call gb_Module_add_check_targets,connectivity,\
CppunitTest_connectivity_mysql_test \
))
endif
ifneq ($(BUILD_POSTGRESQL_SDBC),)
@@ -119,10 +122,6 @@ $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
endif
$(eval $(call gb_Module_add_check_targets,connectivity,\
CppunitTest_connectivity_mysql_test \
))
# general tests
$(eval $(call gb_Module_add_check_targets,connectivity,\
CppunitTest_connectivity_commontools \