This is an automated email from the ASF dual-hosted git repository. leginee pushed a commit to branch bazel-migration in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 94a0c9a38670e0f591b97c9d63b5d7e4c07d056b Author: Peter Kovacs <[email protected]> AuthorDate: Fri Jul 3 00:24:35 2026 +0200 update externals to the new modern linker. --- ext_libraries/modules/curl/8.7.1/overlay/BUILD.bazel | 5 +++++ ext_libraries/modules/curl/8.7.1/source.json | 2 +- ext_libraries/modules/mariadb-connector-c/2.3.7/overlay/BUILD.bazel | 5 +++++ ext_libraries/modules/mariadb-connector-c/2.3.7/source.json | 2 +- ext_libraries/modules/openssl/3.0.13/overlay/BUILD.bazel | 5 +++++ ext_libraries/modules/openssl/3.0.13/source.json | 2 +- 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ext_libraries/modules/curl/8.7.1/overlay/BUILD.bazel b/ext_libraries/modules/curl/8.7.1/overlay/BUILD.bazel index 15e3e7f7b5..d182e7e5d4 100644 --- a/ext_libraries/modules/curl/8.7.1/overlay/BUILD.bazel +++ b/ext_libraries/modules/curl/8.7.1/overlay/BUILD.bazel @@ -19,6 +19,11 @@ cmake( name = "curl", lib_source = ":all_srcs", deps = ["@openssl//:ssl"], + # Drop the generate_pdb feature: it emits /DEBUG:FASTLINK for the native + # modern-linker path, but rules_foreign_cc links with VC9 link.exe, which + # predates FASTLINK (VS2015+) and fails LNK1117. External deps are Release + # and need no PDB, so keep that flag out of the generated CMake toolchain. + features = ["-generate_pdb"], cache_entries = { # Static build "BUILD_SHARED_LIBS": "OFF", diff --git a/ext_libraries/modules/curl/8.7.1/source.json b/ext_libraries/modules/curl/8.7.1/source.json index e127bcb619..7ebd18b95e 100644 --- a/ext_libraries/modules/curl/8.7.1/source.json +++ b/ext_libraries/modules/curl/8.7.1/source.json @@ -4,6 +4,6 @@ "url": "https://github.com/curl/curl/releases/download/curl-8_7_1/curl-8.7.1.tar.gz", "overlay": { "MODULE.bazel": "sha256-KJDj4DF6WRv0VqCvA7OEaLuQ1aMHrncAP6RnDbawlzQ=", - "BUILD.bazel": "sha256-r7wYRQvTi/xtMjwr0NY6+JWFx3LG0AsHra9b+f0AncI=" + "BUILD.bazel": "sha256-kOxkg1HWUuJyBcVV/4dTL8ziWwhQB+AwfIC9HHjSArI=" } } diff --git a/ext_libraries/modules/mariadb-connector-c/2.3.7/overlay/BUILD.bazel b/ext_libraries/modules/mariadb-connector-c/2.3.7/overlay/BUILD.bazel index b254487a09..6a47915df3 100644 --- a/ext_libraries/modules/mariadb-connector-c/2.3.7/overlay/BUILD.bazel +++ b/ext_libraries/modules/mariadb-connector-c/2.3.7/overlay/BUILD.bazel @@ -19,6 +19,11 @@ filegroup( cmake( name = "mariadb", lib_source = ":all_srcs", + # Drop the generate_pdb feature: it emits /DEBUG:FASTLINK for the native + # modern-linker path, but rules_foreign_cc links with VC9 link.exe, which + # predates FASTLINK (VS2015+) and fails LNK1117. External deps are Release + # and need no PDB, so keep that flag out of the generated CMake toolchain. + features = ["-generate_pdb"], cache_entries = { # No SSL required for the SDBC driver layer "WITH_OPENSSL": "OFF", diff --git a/ext_libraries/modules/mariadb-connector-c/2.3.7/source.json b/ext_libraries/modules/mariadb-connector-c/2.3.7/source.json index b378c5666f..45a5a1aba0 100644 --- a/ext_libraries/modules/mariadb-connector-c/2.3.7/source.json +++ b/ext_libraries/modules/mariadb-connector-c/2.3.7/source.json @@ -4,7 +4,7 @@ "url": "https://github.com/mariadb-corporation/mariadb-connector-c/archive/refs/tags/v_2.3.7.zip", "overlay": { "MODULE.bazel": "sha256-k8HuYIOryCL/xPZJdE4jzfOgPckyuwdb0X32/fXQQBg=", - "BUILD.bazel": "sha256-OVob1l2pmNHv2rCNh/2Zu1HyW46WxLh7c/nzEQos4JA=", + "BUILD.bazel": "sha256-FWvitwP4+4xYO2svWzKi83NK7r//RX/BsnQmuOGkUjg=", "cmake/ConnectorName.cmake": "sha256-sgj29Y82ZTI7o2sd8HSD4rK5qDVdSt4i6tQURxsjF38=", "include/mysql.h": "sha256-qtgc1JL8x00XMpYJbQCGW5C5ybs+BmfrybVJmB+3uwQ=", "include/errmsg.h": "sha256-Re4nkCLtV2B82L51S05FcLiWCztmA0g6dMvP9xiNGfU=" diff --git a/ext_libraries/modules/openssl/3.0.13/overlay/BUILD.bazel b/ext_libraries/modules/openssl/3.0.13/overlay/BUILD.bazel index 33b5f6846d..c5b7f47053 100644 --- a/ext_libraries/modules/openssl/3.0.13/overlay/BUILD.bazel +++ b/ext_libraries/modules/openssl/3.0.13/overlay/BUILD.bazel @@ -22,6 +22,11 @@ filegroup( configure_make_variant( name = "ssl", visibility = ["//visibility:public"], + # Drop the generate_pdb feature: it emits /DEBUG:FASTLINK for the native + # modern-linker path, but rules_foreign_cc builds link with VC9 link.exe, + # which predates FASTLINK (VS2015+) and fails LNK1117. External deps are + # Release and need no PDB, so keep that flag out of their link flags. + features = ["-generate_pdb"], toolchain = "@rules_foreign_cc//toolchains:preinstalled_nmake_toolchain", lib_source = ":all_srcs", build_data = ["@strawberry-perl//:perl_exe"], diff --git a/ext_libraries/modules/openssl/3.0.13/source.json b/ext_libraries/modules/openssl/3.0.13/source.json index 1bf12294c1..91b7738aa6 100644 --- a/ext_libraries/modules/openssl/3.0.13/source.json +++ b/ext_libraries/modules/openssl/3.0.13/source.json @@ -4,7 +4,7 @@ "strip_prefix": "openssl-3.0.13", "overlay": { "MODULE.bazel": "sha256-LIe7ROIfVim3leVjQi6CL5SuFiDZ/iCveLqSNLqyXG8=", - "BUILD.bazel": "sha256-kXXbxUOysk3Al6DLEFczsPesYA2tZTOqVFZrYyfccKA=", + "BUILD.bazel": "sha256-QFlvHAVciVnlngWR8enBEJu2K2GUOE3Xd+xsKStURUA=", "configure.sh": "sha256-vfynN+p+3b09VtyAhYodn3vmycV7iIDWaYoyf26qtHQ=" } }
