Fix build issue with VS 2026 18.7.0
As described in the dev mailing list, LibreOffice build fails at the configuration stage, starting from VS 2026 version 18.7.0. LibreOffice build errors with Visual Studio 2026 version 18.7.0 https://lists.freedesktop.org/archives/libreoffice/2026-June/094681.html The root cause of the issue is that clang-cl.exe is re-located in that version and configure.ac searches in the old places, and does not find it. The new patch contains an extra 'x64', or the architecture. Here, $WIN_BUILD_ARCH is used as the architecture. Change-Id: Ib3e3f518735df5045241f52a2ce86184e47fc87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208447 Reviewed-by: Hossein <hossein@libreoffice.org> Tested-by: Jenkins
This commit is contained in:
@@ -13235,6 +13235,8 @@ if test \( "$ENABLE_SKIA" = TRUE -o "$ENABLE_PDFIUM" = TRUE \) -a "$COM_IS_CLANG
|
||||
AC_MSG_CHECKING([for clang-cl])
|
||||
if test -x "$VC_PRODUCT_DIR/Tools/Llvm/bin/clang-cl.exe"; then
|
||||
LO_CLANG_CC=`win_short_path_for_make "$VC_PRODUCT_DIR/Tools/Llvm/bin/clang-cl.exe"`
|
||||
elif test -x "$VC_PRODUCT_DIR/Tools/Llvm/$WIN_BUILD_ARCH/bin/clang-cl.exe"; then
|
||||
LO_CLANG_CC=`win_short_path_for_make "$VC_PRODUCT_DIR/Tools/Llvm/$WIN_BUILD_ARCH/bin/clang-cl.exe"`
|
||||
elif test -n "$PROGRAMFILES" -a -x "$(cygpath -u "$PROGRAMFILES/LLVM/bin/clang-cl.exe")"; then
|
||||
LO_CLANG_CC=`win_short_path_for_make "$PROGRAMFILES/LLVM/bin/clang-cl.exe"`
|
||||
elif test -x "$(cygpath -u "c:/Program Files/LLVM/bin/clang-cl.exe")"; then
|
||||
|
||||
Reference in New Issue
Block a user