From e5a3693f7897168c4fe5c3ff6131e0261269ff2a Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 17 Apr 2026 19:27:49 +0200 Subject: [PATCH] CI/GitHub: Copy possibly other version of openssl dlls required for libmysql.dll --- .github/workflows/win-x64-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/win-x64-build.yml b/.github/workflows/win-x64-build.yml index d5cc1ede9a..ca4dac62ee 100644 --- a/.github/workflows/win-x64-build.yml +++ b/.github/workflows/win-x64-build.yml @@ -84,6 +84,8 @@ jobs: run: | cd ${{ steps.strings.outputs.build-output-dir }}/bin/${{ env.CMAKE_BUILD_TYPE }} copy "${{ env.MYSQL_ROOT_DIR }}/lib/libmysql.dll" libmysql.dll + # mysql may depend on a different version of openssl so copy its dlls first (override later with openssl's own if same version) + Copy-Item -Path "${{ env.MYSQL_ROOT_DIR }}/bin/*" -Include libcrypto*,libssl* -Destination . Copy-Item -Path "${{ env.OPENSSL_ROOT_DIR }}/bin/*" -Include libcrypto*,libssl*,legacy* -Destination . - name: Check binaries