Skip to content

Commit

Permalink
Fix OpenSSL build failure (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
J5lx authored Sep 24, 2023
1 parent 19eabfe commit b99ceb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/actions/create-package/create-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ create_package_windows() {
windeployqt Pencil2D/pencil2d.exe
echo "::endgroup::"
echo "Copy OpenSSL DLLs"
local xbits="-x${platform#win}"
local _xbits="_x${platform#win}"
cp "${IQTA_TOOLS}\\OpenSSL\\Win${_xbits/32/86}\\bin\\lib"{ssl,crypto}"-1_1${xbits/-x32/}.dll" Pencil2D/
curl -fsSLO https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-1.1.1w.zip
"${WINDIR}\\System32\\tar" xf openssl-1.1.1w.zip
local xbits="x${platform#win}"
local _xbits="-${xbits}"
cp "openssl-1.1\\${xbits/32/86}\\bin\\lib"{ssl,crypto}"-1_1${_xbits/-x32/}.dll" Pencil2D/
echo "Create ZIP"
local qtsuffix="-qt${INPUT_QT}"
"${WINDIR}\\System32\\tar" caf "pencil2d${qtsuffix/-qt5/}-${platform}-$1-$(date +%F).zip" Pencil2D
Expand Down
1 change: 0 additions & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ runs:
uses: jurplel/install-qt-action@v3
with:
arch: ${{inputs.arch}}
tools: tools_openssl_x${{endsWith(inputs.arch, '_64') && '64' || '86'}}
version: ${{matrix.qt == 6 && '6.4.2' || '5.15.2'}}
modules: ${{matrix.qt == 6 && 'qtmultimedia' || ''}}

0 comments on commit b99ceb6

Please sign in to comment.