summaryrefslogtreecommitdiffstats
path: root/basic/CppunitTest_basic_macros.mk
diff options
context:
space:
mode:
authorTomofumi Yagi <yagit@mknada.sakura.ne.jp>2016-05-21 19:38:48 +0900
committerMichael Stahl <mstahl@redhat.com>2016-05-30 09:30:33 +0000
commitd2a44e62704f185a0acecbb6320b92a4df3063b9 (patch)
treec31ffb4cc15cc89b74c92dcb410d3ac84a8feffa /basic/CppunitTest_basic_macros.mk
parentFix tools/date.hxx Date vs. css::uno::Date mismatch (diff)
downloadcore-d2a44e62704f185a0acecbb6320b92a4df3063b9.tar.gz
core-d2a44e62704f185a0acecbb6320b92a4df3063b9.zip
tdf#99696 fix build error for 64bit Windows in unit tests using ADODB
This patch fixes the problem that the build for x64 fails in basic module on 64bit Windows installed 32bit Excel Application. New code checks the existance of ODBC driver for excel insted of the existance of Excel application(at this time the bitness of ODBC driver for excel would match that of building LibreOffice). What we need is probably not Excel Application but ODBC drivers for proper bitness. Change-Id: I62285eb2351f2022754fc34cb2d54db1bd9e8142 Reviewed-on: https://gerrit.libreoffice.org/25301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basic/CppunitTest_basic_macros.mk')
-rw-r--r--basic/CppunitTest_basic_macros.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/basic/CppunitTest_basic_macros.mk b/basic/CppunitTest_basic_macros.mk
index 13e9235341ac..8d64f40a65f7 100644
--- a/basic/CppunitTest_basic_macros.mk
+++ b/basic/CppunitTest_basic_macros.mk
@@ -42,6 +42,9 @@ $(eval $(call gb_CppunitTest_use_libraries,basic_macros, \
ifeq ($(OS),WNT)
$(eval $(call gb_CppunitTest_use_system_win32_libs,basic_macros, \
oleaut32 \
+ $(if $(filter 140,$(VCVER)),legacy_stdio_definitions) \
+ odbc32 \
+ odbccp32 \
))
endif